🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #2384

Setuid Permission Not Copied By FileViewer?

#2384
From: Greg Colello
Date: Thu, 28 Jan 1993 21:09
22 lines
1611 bytes
I'm probably the only one in the Next sys admin world who didn't know  
this, but I found out the hard way that the FileViewer apparently strips  
the setuid permission when copying files even though it retains all other  
parts of the permissions matrix. The "hard way" I mentioned involved an  
attempt to restore /NextApps and /NextAdmin from the NS3.0 CDROM using the  
FileViewer (while logged onto root). Everything was copied exactly except  
the setuid permissions (there are 11 such files in /NextApps and  
/NextAdmin). This "stripping of setuid" occurs even if you copy a file  
from one part of your own account to another part.

Ok. Now I know. I should have used cp -rp to restore the directories. Too  
bad. I've gotten real fond of using the GUI to do "Unix stuff".

Is there any way to make the FileViewer copy the setuid permissions  
faithfully (like a dwrite or something)? I checked as much documentation  
as I could and found no mention of this.

-----------------------------------------------------------------
Greg Colello
Carnegie Institution, Department of Plant Biology
Stanford University
gcolello@biosphere.stanford.edu (NeXT mail OK)
Technical Details
Message-ID: <1993Jan28.210939.6314@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!scifi!acheron!philabs!linus!agate!stanford.edu!nntp.Stanford.EDU!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!scifi!acheron!philabs!linus!agate!stanford.edu!nntp.Stanford.EDU!news
From: gcolello@biosphere.Stanford.EDU (Greg Colello)
Subject: Setuid Permission Not Copied By FileViewer?
Message-ID: <1993Jan28.210939.6314@leland.Stanford.EDU>
Sender: news@leland.Stanford.EDU (Mr News)
Organization: DSO, Stanford University
Date: Thu, 28 Jan 93 21:09:39 GMT
Lines: 22