[PATCH v2] manual: Clarify File Access Modes section and add O_PATH
Florian Weimer
fweimer@redhat.com
Wed Dec 2 12:38:47 GMT 2020
* Michael Kerrisk:
>> +reading or writing. Permission checks for the file itself are skipped
>> +when the file is opened (but permission to access the directory that
>> +contains it is still needed), and permissions are checked when the
>> +descriptor is used later.
>
> Perhaps a little more idiomatic: s/used later/later used/
“is used later on"?
> You switch between "access modes" earlier and "access mode" here.
> I myself tend to use the singular, though I see that POSIX is also
> a little fuzzy in its use of plural vs singular.
I changed the introduction to singular in v3. Now “modes” refer to
multiple different O_* constants, I think, so it should be consistent.
As discussed a while back, the idea that O_RDWR consists of multiple
access modes is predominantly Hurd-specific.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list