[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ok, the biosfs_chmode() story in 1.11...
Hi,
Not *directly* wanting to repeat myself, but I'm still sure this is
the better way: :)
--- biosfs.c.orig Wed Aug 10 18:18:10 1994
+++ biosfs.c Wed Aug 10 18:18:24 1994
@@ -553,7 +553,7 @@
return 0;
}
} else if (!IS_FD_ENTRY(fc)) {
- if (!curproc->euid && (curproc->euid == b->xattr.uid)) {
+ if (!curproc->euid || (curproc->euid == b->xattr.uid)) {
b->xattr.mode = (b->xattr.mode & S_IFMT) | mode;
return 0;
}
ciao,
TeSche
--
Torsten Scherer (TeSche, Schiller...), itschere@techfak.uni-bielefeld.de
Faculty of Technology, University of Bielefeld, Germany, Europe, Earth...
| Use any of "finger itschere@129.70.131.2-15" for adresses and more. |
| Last updated: 31. July 1994. |