Thread View: comp.sys.next.sysadmin
1 messages
1 total messages
Started by Greg Colello
Thu, 28 Jan 1993 21:09
Setuid Permission Not Copied By FileViewer?
Author: Greg Colello
Date: Thu, 28 Jan 1993 21:09
Date: Thu, 28 Jan 1993 21:09
22 lines
1611 bytes
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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads