Re: acl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22Sep2015 14:53, Patrick Dupre <pdupre@xxxxxxx> wrote:
On 22Sep2015 13:22, Patrick Dupre <pdupre@xxxxxxx> wrote:
>I am trying to use the acl, but I have not been successful.
Do commands like setfacl fail?
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'

Please don't top post. It makes the context hard to understand. I've put some context back up the top.

setfacl has the charming feature that changes have no effect until it is invoked with the --mask option.

Please retry your test like this:

 setfacl -m u:amsterdam:r --mask out.pdf

I am privately imagining that this "feature" allows one to do several changes to an ACL but not have them take effect until the last one., thus permitting atomic effects from incremental changes. But it is really annoying.

BTW, "I/O Error"? If that is an OS error something if bad. On the other hand it might just be a mislead application error string. Your "Permission denied" message is what I would expect.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux