ref: 0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089
parent: c45f21c3defa4951c50518dcc72b3eb32f8ce124
author: rodri <[email protected]>
date: Wed Apr 3 16:41:03 EDT 2024
ignore OTRUNC.
--- a/fs.c
+++ b/fs.c
@@ -364,7 +364,7 @@
if(strcmp(r->fid->uid, jefe) == 0)
perm >>= 6;
- if((r->ifcall.mode & (OTRUNC|OCEXEC|ORCLOSE)) != 0)
+ if((r->ifcall.mode & (OCEXEC|ORCLOSE)) != 0)
goto deny;
want = mode2perm(r->ifcall.mode);
if((want & perm) != want){