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 09:06:50
Message-Id: eer008$2d6$1@sea.gmane.org
In Reply to: Re: [gentoo-user] Re: permissions for a common folder by "Stefán István"
1 Stefán István wrote:
2 > Okay, I think I have to use acl. I've read its documentation, and set up the
3 > following acl's:
4 >
5 > setfacl -m d:u::rw /home/stefi/kepek/
6 > setfacl -m d:g::rw /home/stefi/kepek/
7 > setfacl -m d:o::r /home/stefi/kepek/
8 >
9 > Now, if I create a file in this directory, it's permission will be 664 instead
10 > of the default 644. That's very good.
11 > But if I create a directory it's permissons also will be 664. But I want it to
12 > be 775. How can I achive this?
13
14 Use the following:
15
16 setfacl -m d:u::rwx,d:g::rwx,d:o::rx /home/stefi/kepek/
17
18 i.e. also give it a default execute permission.
19
20 -- Remy
21
22
23 Remove underscore and suffix in reply address for a timely response.
24
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: permissions for a common folder "Stefán István" <stefi@××××××××××××.hu>