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
..
1996-05-01 06:31:18 +00:00
1996-05-22 17:07:14 +00:00
1996-05-02 10:43:17 +00:00
1996-05-24 01:35:45 +00:00
1996-05-08 04:29:08 +00:00
1996-05-24 15:22:36 +00:00
1996-05-02 10:43:17 +00:00
1996-05-13 09:17:42 +00:00
1996-05-01 02:16:17 +00:00
1996-05-24 15:22:36 +00:00
1996-05-12 12:36:59 +00:00
1996-05-02 10:43:17 +00:00
1996-05-24 16:19:23 +00:00
1996-05-02 14:21:14 +00:00
1996-04-07 01:15:03 +00:00
1996-05-07 23:19:49 +00:00
1996-04-05 18:59:06 +00:00
1996-05-24 01:35:45 +00:00
1996-05-24 01:35:45 +00:00
1996-05-22 17:23:09 +00:00
1996-05-08 19:31:48 +00:00
1996-02-13 18:19:17 +00:00
1996-05-02 14:21:14 +00:00
1996-05-02 14:21:14 +00:00
1996-04-30 23:26:52 +00:00
1996-04-13 12:45:57 +00:00
1996-04-23 16:03:08 +00:00
1996-05-23 15:02:18 +00:00
1996-01-24 18:51:48 +00:00
1996-01-30 23:33:04 +00:00
1996-05-19 19:29:09 +00:00
1996-05-23 00:45:58 +00:00
1995-12-14 09:55:16 +00:00
1996-05-08 04:29:08 +00:00
1996-05-24 05:20:15 +00:00
1995-12-26 13:58:31 +00:00