Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Advanced file permisions



I have an auto mounted directory where I want to restrict access to only
members of a specific group, lets call it foogroup for now. I didn't want
to use netgroups for a number of reasons in that the NAS is run by a
separate team, and they use a different LDAP server than we do.

The way I set up the original top level directory is:
chmod 2770: rwxrws--- foogroup
But when I create a subdirectory I get:
rwx--S---

It worked well on another directory I used for source control where I
created 2 subdirectories with rwxrwx--- permissions, no group setgid bit,

The most important thing is that only member of foogroup can get into that
directory.

-- 
--
Jerry Feldman <gaf.linux at gmail.com>
Boston Linux and Unix
PGP key id: B7F14F2F
Key fingerprint: D937 A424 4836 E052 2E1B  8DC6 24D7 000F B7F1 4F2F



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org