From 0ec7a0bbcae886a0d36dbe931a3ed0b0e0be1089 Mon Sep 17 00:00:00 2001 From: rodri Date: Wed, 3 Apr 2024 20:41:03 +0000 Subject: ignore OTRUNC. --- fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){ -- cgit v1.2.3