Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


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

[Discuss] Advanced file permisions



I'm at home, but I think it is 0002 but I'll check in the morning.
The most important issue is to set up the top level directory with owner
root, and group foogroup. This will prevent unauthorized people from
being able to get into the directory.

I changed the subdirectories with rwxrwx and our main group.

On 11/25/2014 10:16 AM, Richard Pieri wrote:
> On 11/25/2014 9:38 AM, Jerry Feldman wrote:
>> 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---
>
> What's your umask?
>

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id:B7F14F2F
PGP 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