bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils patch for files that are writeable but not readable


From: Paul Eggert
Subject: Re: coreutils patch for files that are writeable but not readable
Date: Tue, 10 Aug 2004 11:45:35 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Jim Meyering <address@hidden> writes:

> I suppose you've read some of the discussions of the O_NOACCESS open flag.
> What we want is something like that.

No, never heard of O_NOACCESS.  But that's what I want, yes.

> Do you know of a way to do it that's *not* portable?

Sorry, no.  I wouldn't be surprised if you could do it with GNU/Hurd
or Solaris, both of which let you do fairly funky things with
directories (e.g., open a file whose name is relative to another
directory that you have the file descriptor to), but I don't know how
to do it myself.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]