Peter Wemm 472fe5e4db Dont allow directories to be link()ed or unlink()ed, even for root
(returns EPERM always, the errno is specified by POSIX).

If you really have a desperate need to link or unlink a directory, you
can use fsdb. :-)

This should stop any chance of ftpd, rdist, "rm -rf", etc from
bugging out and damaging the filesystem structure or loosing races
with malicious users.

Reviewed by: davidg, bde
1996-05-24 16:19:23 +00:00
..
1995-12-17 21:23:44 +00:00
1996-04-07 16:16:05 +00:00
1995-12-17 21:23:44 +00:00
1995-12-17 21:23:44 +00:00
1995-02-24 08:51:34 +00:00
1996-05-02 14:21:14 +00:00
1996-05-01 03:32:46 +00:00
1996-05-02 14:21:14 +00:00
1996-05-12 07:48:47 +00:00