This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: one more openat-style function required: fchmodat
- From: Jim Meyering <jim at meyering dot net>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: Roland McGrath <roland at redhat dot com>, libc-alpha at sources dot redhat dot com
- Date: Fri, 06 Jan 2006 16:30:42 +0100
- Subject: Re: one more openat-style function required: fchmodat
- References: <20060105103254.19A73180B7C@magilla.sf.frob.com> <43BE8C62.8050505@redhat.com>
Ulrich Drepper <drepper@redhat.com> wrote:
> Roland McGrath wrote:
>> It's a natural, obvious, and useful addition, no matter what Solaris does
>> or doesn't have. I've put it in.
>
> I'm not at all convinced this is a good think. It can be achieved using
> openat + fchmod.
No, it can't, as I said in the original message.
Is you can't open a file, then you can't use fchmod on it.