Path: utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!psueea!eecs!kirkenda From: kirkenda@eecs.cs.pdx.edu (Steve Kirkendall) Newsgroups: comp.os.minix Subject: Re: problems with 1.5.0 ST Keywords: kernel, more, sh Message-ID: <2455@psueea.UUCP> Date: 2 Mar 90 21:07:24 GMT References: <2558@ruuinf.cs.ruu.nl> Sender: news@psueea.UUCP Reply-To: kirkenda@eecs.UUCP (Steve Kirkendall) Organization: Portland State University, Portland, OR Lines: 17 In article <2558@ruuinf.cs.ruu.nl> frankb@ruuinf.cs.ruu.nl (Frank Breure) writes: >3. "mkdir" doesn't work, > it complains: ": cannot create" > even if your are the owner of the current the directory > and have "rwx" permissions to it. Does mkdir work when you're logged in as root? The mknod() function can only make a directory if you are root, reguardless of the permissions of the parent directory. To work around this limitation, mkdir must be owned by root and have the "set user id" bit turned on. # chown root /bin/mkdir # chmod 4755 /bin/mkdir ------------------------------------------------------------------------------- Steve Kirkendall, kirkenda@cs.pdx.edu, uunet!tektronix!psueea!jove!kirkenda My favorite word is "flabbergast"