Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sys.mips Subject: uid/euid question Message-ID: <847@uakari.primate.wisc.edu> Date: 7 Oct 89 16:09:10 GMT Organization: UW-Madison Primate Center Lines: 29 mkdir uses the real uid/gid. chmod and touch use the effective uid/gid. I did the following with what seem to me to be strange results. (M/120, RISC/os 4.01) (real uid/gid are rcolony/rem401, effective uid/eig are colony/401) tmpdir=/tmp/td$$ mkdir $tmpdir ($tmpdir is created with owner/group rcolony/rem401) chown 777 $tmpdir (this fails - "no permission match") files="$tmpdir/x $tmpdir/y" touch $files (they're created - with owner/group colony/401!) chmod 777 $files (this succeeds!) Is this supposed to happen? Or do I just not understand real/effective? Paul DuBois dubois@primate.wisc.edu