summaryrefslogtreecommitdiff
path: root/fs.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-04-03 20:41:03 +0000
committerrodri <rgl@antares-labs.eu>2024-04-03 20:41:03 +0000
commit0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089 (patch)
treec90837e20a74cb3d6d8065781665f5f00fcc7c46 /fs.c
parentc45f21c3defa4951c50518dcc72b3eb32f8ce124 (diff)
downloadrenderfs-0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089.tar.gz
renderfs-0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089.tar.bz2
renderfs-0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089.zip
ignore OTRUNC.
Diffstat (limited to 'fs.c')
-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){