Autzoo.1632 net.bugs.v7 utzoo!henry Tue May 4 20:47:19 1982 pwd vs permissions There are several setuid programs, notably uux, which invoke pwd and expect to get coherent results. This doesn't work too well if the current directory, or a parent, is off-limits to anyone but the owner. There are two possible fixes. One is to run down such programs and fiddle them in some manner to reset the uid before invoking pwd (this is awkward when pwd is being invoked using system()). The alternative, which I've done here, is to simply make pwd setuid-root. ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.