summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs.c b/fs.c
index a052fd5..fe46cb0 100644
--- a/fs.c
+++ b/fs.c
@@ -364,7 +364,7 @@ fsopen(Req *r)
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){