Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2007 17:56:12 +0200
From:      "Zbigniew Szalbot" <zszalbot@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   chmod / files and directories
Message-ID:  <94136a2c0709100856q768b101as96e1e6d16312d374@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94136a2c0709100856q768b101as96e1e6d16312d374>