Web Hosting Talk







View Full Version : chmod a whole directory?


gtrplayer
09-11-2002, 11:24 PM
does anyone remember how to chmod a whole directory and it's subdirectories and contains.

i'm limited to only using ftp to do this...so i'm not sure it can be done.

thanks!

davidb
09-11-2002, 11:33 PM
chmod -r xxx *

or whatever the dir name for *, might be a capital R

clocker1996
09-11-2002, 11:50 PM
its chmod -R xxx dir/

or /home/dir
etc

trafficbuild
09-11-2002, 11:59 PM
is a -R

JonL
09-12-2002, 12:18 AM
The -R just means recursive if you were wondering

Also, check out:

man chmod

:)

gtrplayer
09-12-2002, 12:55 AM
thank you!