mkdir has stopped working - SCO Xenix

Jim Balter jim at segue.segue.com
Sat Apr 20 07:55:07 AEST 1991


In article <veit.671986606 at du9ds3> veit at du9ds3.uni-duisburg.de (Holger Veit) writes:
>In <15884 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>>I would guess that somebody changed the owners of the system utilities,
>>or their protection modes, or something like that.
>
>But Mark Baker said above, that even root cannot make a directory. So, setuid 0
>for mkdir is obviously not the problem.

Watch that word "obviously".  Changing owner on a setuid file doesn't clear the
setuid bit, so mkdir could have ended up setuid to someone other than root.
If the effective user is not root, the mknod will fail even if root is the
real user.



More information about the Comp.unix.questions mailing list