[CentOS] simple script idea

Sun Jan 20 08:10:21 UTC 2008
Garrick Staples <garrick at usc.edu>

On Sat, Jan 19, 2008 at 11:38:18PM -0800, Robert - elists alleged:
> > 
> > find / \( -uid 46 -o -gid 46 \) -print0 | xargs -0 chown clamav:clamav
> 
> Garrick,
> 
> Thank you, that is pretty slick
> 
> I haven't checked the man page for find like forever...
> 
> Didn't recall ever seeing find via uid or gid

Feel free to dress it up with specific paths and flags like -xdev.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080120/edf3b766/attachment-0005.sig>