mass chmod chown...

Mark Lanett mlanett at parrotchat.net
Sat Jul 17 14:01:59 UTC 2004


chmor -R foo:bar .
or the more complex but much superior:
find . -name whateverexpression -print -exec chmod foo:bar \{\} \;

~mark

Jonathan T. Steadman wrote:
:: Is there a way in linux (FC1 if this matters) that I can mass
:: chmod/chown files?  its kind of sluggish doing a directory at a
:: time, i want to be able to like chmod all the files and folders say
:: in a certain directory then start climbing directory tree and chmod
:: every folder inside the main directory.  Sorry if this is a newb
:: question, but what can i say...i am one ;).
:: 
:: 
:: --
:: fedora-list mailing list
:: fedora-list at redhat.com
:: To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





More information about the users mailing list