chmod / files and directories

Zbigniew Szalbot zszalbot at gmail.com
Mon Sep 10 08:56:15 PDT 2007


Hello,

I did read man chmod but I am not really wiser. Is there an option to
recursively set 755 permissions for directories and 644 for files?
When I just issue
chmod -R 755 /usr/local/www/data/wp/
then all files and directories under wp/ are given permissions 755
which is not what I want.
I can do it manually but since there are manyt subdirectories I
thought I would make my life easier. Many thanks in advance!

Zbigniew Szalbo


More information about the freebsd-questions mailing list