Date: Mon, 18 Sep 1995 14:06:56 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: julian@ref.tfs.com (Julian Elischer) Cc: julian@ref.tfs.com, hackers@FreeBSD.ORG Subject: Re: suspect code in 'unlink' syscall. Message-ID: <199509182106.OAA08630@phaeton.artisoft.com> In-Reply-To: <199509180806.BAA01219@ref.tfs.com> from "Julian Elischer" at Sep 18, 95 01:06:48 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > now, if we were NOT root, and it IS a dir...... (normal...) > > > > can we delete it? > The answer is 'NO' but I'm not sure I see why.. Because the underlying FS will prevent it. > AH I just found it.. only root can unlink a dir, all others can > only do 'rmdir' calls.. ok, I admit it.. I need to go to sleep. No, this is a good correction. The semantics should be enforced at the system call layer where possible. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509182106.OAA08630>
