lkml.org 
[lkml]   [1996]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: unlink system call on directories - Bug + fix

On Mon, 18 Nov 1996, Andrew M. Bishop wrote:

> The same filesystem, exported from SunOS 4.1.1, mounted on SunOS 4.1.4
> does not allow directories to be unlinked. So I conclude that the
> server is not wrong. The Linux kernel should know that the file is a
> directory and not even try to unlink it since it knows it is not
> allowed.

The server is still wrong. There is no reason user-level code couldn't be
written that performs the same "unlink-directory" operation. Yes, it may
be in our best interests to stop the client from doing this, but that
doesn't mean the server isn't broken.

--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:1.533 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site