Article View: net.bugs.v7
Article #61pwd vs permissions
From: utzoohenry
Date: Tue, 04 May 1982 20:47
Date: Tue, 04 May 1982 20:47
7 lines
647 bytes
647 bytes
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.
Technical Details
Message-ID:
<anews.Autzoo.1632>Path:
arc1-ca.pugleaf.net!utzoo!henryShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!henry From: utzoo!henry Newsgroups: net.bugs.v7 Subject: pwd vs permissions Date: Tue, 04 May 1982 20:47:19 +0000 Message-ID: <anews.Autzoo.1632>