git: 9front

Download patch

ref: d8b9063cc2d13c110a16991d103adc63129a3cab
parent: e0f3d12b6daaaeafbc124b292ca3057712773933
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sat Aug 11 08:02:05 EDT 2012

hjfs: fix permcheck bug

--- a/sys/src/cmd/hjfs/auth.c
+++ b/sys/src/cmd/hjfs/auth.c
@@ -313,7 +313,7 @@
 	case OEXEC:
 		return (perm & 1) != 0;
 	case ORDWR:
-		return (perm & 5) == 5;
+		return (perm & 6) == 6;
 	}
 	return 0;
 }
--