Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: jmr@risc.sps.mot.com (Jim Rowan)
Subject: Re: Why doesn't DFS support SETUID files?
Date: 1996/11/27	[thread overview]
Message-ID: <JMR.96Nov27174745@guppy.risc.sps.mot.com> (raw)
In-Reply-To: vd20df8pg0.fsf@dce-1.wayne.edu



Let me correct you a bit:

Thomas> Some more information on the `cm setsetuid` DCE command. 
[...]
Thomas> the client machine. The `cm setsetuid` DCE command does not change
Thomas> the settings of the SETUID flag for a given file, it only allows the
Thomas> `chmod` command the permission to set thus flag within the cache
Thomas> manager data for the given file. 

Umm, this isn't quite correct.  What it does is to control whether the setuid
bit is honored for files (in this particular fileset).  It doesn't control
whether chmod +s can be done.

Further -- the path given as an argument to cm setsetuid only serves to
identify a fileset; the flag applies to a whole fileset, not a file.

[...]
Thomas> Thus, after executing the `cm setsetuid` DCE command for a given
Thomas> file, the root user must still execute a `chmod u+s` command to turn
Thomas> on the SETUID flag for a given file. 

It doesn't have to be root, any user could do this.  (Only root can do it to
other people's files...).  (Also, it can happen before or after the cache
manager is told to honor setuid in that fileset.)

--
Jim Rowan	   Distributed Computing Specialists         DCE/DFS Consulting
jmr@computing.com						 (512) 452-7403



  parent reply	other threads:[~1996-11-27  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-26  5:00 Why doesn't DFS support SETUID files? Thomas R. Stevenson
1996-11-27  5:00 ` Thomas R. Stevenson
1996-11-27  5:00   ` Thomas R. Stevenson
1996-11-27  5:00   ` Jim Rowan [this message]
1996-12-03  5:00   ` Thomas R. Stevenson
1996-12-09  5:00   ` lbro@dscc.dk (Lars Bro)
1996-12-09  5:00   ` Jim Rowan
1996-11-27  5:00 ` Bob Oesterlin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox