Gentoo Archives: gentoo-user

From: Remy Blank <remy.blank_asps@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: permissions for a common folder
Date: Wed, 20 Sep 2006 12:59:27
Message-Id: eerdih$gai$1@sea.gmane.org
In Reply to: Re: [gentoo-user] Re: permissions for a common folder by "Stefán István"
1 >> Use the following:
2 >>
3 >> setfacl -m d:u::rwx,d:g::rwx,d:o::rx /home/stefi/kepek/
4 >>
5 >> i.e. also give it a default execute permission.
6 >
7 > Thanks, it works know, though I don't understand it.
8
9 The default user, group and other ACLs of a directory are ANDed with the
10 mask passed to the open() or mkdir() call. For directories, the mode is
11 normally passed as 0777, so you end up with 0775 permission. For files,
12 the mode is usually passed as 0666, and so you get 664 permissions.
13
14 -- Remy
15
16
17 Remove underscore and suffix in reply address for a timely response.
18
19 --
20 gentoo-user@g.o mailing list