🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13439

Sticky /tmp, bug in getwd(3)?

#13439
From: Matti Jokinen
Date: Mon, 29 Jan 1990 02:24
11 lines
933 bytes
In order to increase security I set the sticky bit on the directories
/tmp, /var/tmp and /var/spool/mail.  One consequence was that small files
started to accumulate in /tmp; the names of the files are of the form
.getwdaNNNNN, where NNNNN is obviously a process number.  It is not
difficult to guess that the files are created by getwd(3), but I don't
understand why they are not removed.  The result of getwd seems to be
unaffected.

My SunOS version is 4.0.3.

Matti Jokinen
Technical Details
Message-ID: <4500@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!rice!sun-spots-request
From: moj@mirfak.utu.fi (Matti Jokinen)
Newsgroups: comp.sys.sun
Subject: Sticky /tmp, bug in getwd(3)?
Keywords: Miscellaneous
Message-ID: <4500@brazos.Rice.edu>
Date: 29 Jan 90 02:24:00 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 11
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 9, Issue 15, message 8 of 20