Jim Meyering <[EMAIL PROTECTED]> 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. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils