acl

Joseph Loo jloo20111002 at gmail.com
Wed Sep 23 02:16:30 UTC 2015


On 09/22/2015 05:53 AM, Patrick Dupre wrote:
> Yes,
> 
> I did:
> setfacl -m u:amsterdam:r out.pdf
> 
> but masterdam cannot access to the file:
> 
> ls /home/pdupre/out.pdf
> ls: cannot access /home/pdupre/out.pdf: Permission denied
> or
> I/O Error: Couldn't open file '/home/pdupre/out.pdf'
> 
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre at gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale           | |
>  Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
> ===========================================================================
> 
> 
>> Sent: Tuesday, September 22, 2015 at 2:09 PM
>> From: "Cameron Simpson" <cs at zip.com.au>
>> To: "Community support for Fedora users" <users at lists.fedoraproject.org>
>> Subject: Re: acl
>>
>> On 22Sep2015 13:22, Patrick Dupre <pdupre at gmx.com> wrote:
>>> I am trying to use the acl, but I have not been successful.
>>
>> Do commands like setfacl fail?
>>
>>> I modified the /etc/fstab file:
>>> from
>>> dev/mapper/VolGrpUsr_DK0-home /home                   ext4    default       1 2
>>> to
>>> dev/mapper/VolGrpUsr_DK0-home /home                   ext4    rw,acl       1 2
>>> and
>>> mount -v -o remount /home
>>> mount: /dev/mapper/VolGrpUsr_DK0-home mounted on /home.
>>>
>>> This what I get:
>>> /dev/mapper/VolGrpUsr_DK0-home on /home type ext4 (rw,relatime,seclabel,stripe=2,data=ordered)
>>>
>>> This is the same with default or with acl.
>>> There is not indication that the acl are working!
>>
>> If rw and acl are default modes, then you won't see anything special.
>>
>> Test it with the setfacl command on something.
>>
>> Cheers,
>> Cameron Simpson <cs at zip.com.au>
>> -- 
>> users mailing list
>> users at lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away: http://ask.fedoraproject.org
>>
I suggest you do to getfacl /home/pdupre and getfacl /home/pdupre/out.pdf

-- 
Joseph Loo
jloo at acm.org


More information about the users mailing list