Click to See Complete Forum and Search --> : chown a directory + all subdirectories and files


cybercampbell
07-07-2006, 02:09 PM
I know how to chown just a file or a directory

e.g.
chown newowner file.ext
chown newowner directory

But how do I chown a directory + all subdirectories and files.

Any ideas?

PineSolPirate
07-07-2006, 02:25 PM
chown -R
http://www.computerhope.com/unix/uchown.htm
It's also handy to know how to do "user:group" in there too. :)

cybercampbell
07-07-2006, 03:29 PM
cheers

:)