patch-2.3.22 linux/fs/namei.c
Next file: linux/fs/nfs/file.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Oct 14 14:19:56 1999
- Orig file:
v2.3.21/linux/fs/namei.c
- Orig date:
Thu Aug 26 13:05:40 1999
diff -u --recursive --new-file v2.3.21/linux/fs/namei.c linux/fs/namei.c
@@ -857,7 +857,7 @@
lock_kernel();
error = -EPERM;
- if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !capable(CAP_SYS_ADMIN)))
+ if (S_ISDIR(mode) || (!S_ISFIFO(mode) && !capable(CAP_MKNOD)))
goto out;
tmp = getname(filename);
error = PTR_ERR(tmp);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)