diff options
author | rodri <rgl@antares-labs.eu> | 2024-04-03 20:41:03 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-04-03 20:41:03 +0000 |
commit | 0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089 (patch) | |
tree | c90837e20a74cb3d6d8065781665f5f00fcc7c46 /fs.c | |
parent | c45f21c3defa4951c50518dcc72b3eb32f8ce124 (diff) | |
download | renderfs-0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089.tar.gz renderfs-0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089.tar.bz2 renderfs-0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089.zip |
ignore OTRUNC.
Diffstat (limited to 'fs.c')
-rw-r--r-- | fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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){ |