Re: simple script idea

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Jan 19, 2008 at 10:21:48PM -0800, Robert - elists alleged:
> Anyways, would some kind soul point me in the right direction or help me
> create a script that will traverse the proper parts of the filesystem and
> grep for files with UID and/or GID 46 please?

find / \( -uid 46 -o -gid 46 \) -print0 | xargs -0 chown clamav:clamav

Attachment: pgpyeYjEGvvQg.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux