Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1338981
| From | "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: richacl(7) man page review comments |
| Date | 2016-02-21 22:10 +0100 |
| Message-ID | <r4Jqq-3vP-3@gated-at.bofh.it> (permalink) |
| References | <qZAnN-co-23@gated-at.bofh.it> <qZAxs-gP-17@gated-at.bofh.it> <r1unU-4EM-5@gated-at.bofh.it> <r2cyC-8oe-15@gated-at.bofh.it> <r4iJz-8kt-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 02/20/2016 05:37 PM, Andreas Gruenbacher wrote:
> Hi Michael,
>
> thanks again for all the feedback. I've followed all your suggestions;
> again, please see the github repo for the latest version:
>
> https://github.com/andreas-gruenbacher/richacl
>
> On Sun, Feb 14, 2016 at 10:31 PM, Michael Kerrisk (man-pages)
> <mtk.manpages@gmail.com> wrote:
>> Hi Andreas,
>>
>> Here's a few more comments on the current richacl(7) page
>> that I fetched from the git repo.
>>
[...]
>>> .HP
>>> .BR dir_inherit "\ (" d ):
>>> The entry is inheritable for directories.
>>
>> "When this flag appears in the ACL entry of a directory, then that entry is
>> inherited by new subdirectories created in the directory."
>>
>> Is that text that I propose correct?
>
> It's not entirely wrong, but only a small part of the truth. Entries
> are inherited such that the permissions in file_inherit entries become
> effective for access checking for new files, and the permissions in
> dir_inherit entries become effective for access checking for new
> directories, recursively.
>
> Your feedback prompted me to look into the inheritance flag
> computation more closely once again, and I found bugs. The steps of
> the algorithm are explained in the section "Permissions at
> file-creation time", by the way.
Hmmm... writing and refining documentation helps find code bugs.
Who knew? :-)
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: richacl(7) man page review comments Andreas Gruenbacher <agruenba@redhat.com> - 2016-02-12 23:30 +0100
Re: richacl(7) man page review comments "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-02-14 22:30 +0100
Re: richacl(7) man page review comments Andreas Gruenbacher <agruenba@redhat.com> - 2016-02-15 00:20 +0100
Re: richacl(7) man page review comments "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-02-15 11:30 +0100
Re: richacl(7) man page review comments Andreas Gruenbacher <agruenba@redhat.com> - 2016-02-15 12:40 +0100
Re: richacl(7) man page review comments "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-02-15 15:20 +0100
Re: richacl(7) man page review comments "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-02-14 22:40 +0100
Re: richacl(7) man page review comments Andreas Gruenbacher <agruenba@redhat.com> - 2016-02-20 17:40 +0100
Re: richacl(7) man page review comments "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-02-21 22:10 +0100
Re: richacl(7) man page review comments "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-02-21 22:50 +0100
Re: richacl(7) man page review comments Andreas Gruenbacher <agruenba@redhat.com> - 2016-02-22 15:50 +0100
csiph-web