On Fri, 3 Dec 1999, Cameron Simpson wrote:

> On Wed, Dec 01, 1999 at 05:47:16PM -0600, Stephen Hargrove wrote:
> | Okay, I've created a little problem on my system.  I have a partition
> | that is shared among several different offices, so I set the
> | permissions as follows:
> | 
> | chmod -R 1666 *
> | 

OK, like everybody else has said, you need the 'x' permission for
direcories. Here's what's been missing from the posts (and what you need
to do):

cd /blah
find . -type d -exec chmod 1777 {} \; -print
find . -type f -exec chmod 1666 {} \; -print

However be sure that you understand its security implications. If you are
using SAMBA, use its configuration to force a user/group when accessing
the directories, and make the directories/files chmod to 755/644 (you
won't need the sticky bit anymore).

cheers,
Hossein


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to