Gentoo Archives: gentoo-user

From: "Stefán István" <stefi@××××××××××××.hu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: permissions for a common folder
Date: Wed, 20 Sep 2006 12:01:26
Message-Id: 200609201351.57167.stefi@geohidroterv.hu
In Reply to: [gentoo-user] Re: permissions for a common folder by Remy Blank
1 szerda 20 szeptember 2006 11.00 dátummal Remy Blank ezt írta:
2 > Stefán István wrote:
3 > > Okay, I think I have to use acl. I've read its documentation, and set up
4 the
5 > > following acl's:
6 > >
7 > > setfacl -m d:u::rw /home/stefi/kepek/
8 > > setfacl -m d:g::rw /home/stefi/kepek/
9 > > setfacl -m d:o::r /home/stefi/kepek/
10 > >
11 > > Now, if I create a file in this directory, it's permission will be 664
12 instead
13 > > of the default 644. That's very good.
14 > > But if I create a directory it's permissons also will be 664. But I want
15 it to
16 > > be 775. How can I achive this?
17 >
18 > Use the following:
19 >
20 > setfacl -m d:u::rwx,d:g::rwx,d:o::rx /home/stefi/kepek/
21 >
22 > i.e. also give it a default execute permission.
23
24 Thanks, it works know, though I don't understand it.
25
26 István
27
28 --
29 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: permissions for a common folder Remy Blank <remy.blank_asps@×××××.com>