From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ba4,31029814498c8f19 X-Google-Attributes: gidf9ba4,public X-Google-Thread: f678f,31029814498c8f19 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,31029814498c8f19 X-Google-Attributes: gidfee84,public From: jmr@risc.sps.mot.com (Jim Rowan) Subject: Re: Why doesn't DFS support SETUID files? Date: 1996/11/27 Message-ID: #1/1 X-Deja-AN: 201135961 references: organization: Motorola (Austin,TX) newsgroups: comp.soft-sys.dce,comp.unix.osf.misc,comp.unix.osf.osf1 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