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 |