PiperOrigin-RevId: 236239090
Change-Id: I92e63d6f4b52b78852626c87743fdd86175e09d3
This commit is contained in:
Michael Pratt
2019-02-28 18:47:13 -08:00
committed by Shentubot
parent 3b44377eda
commit 088c6522b2
+1 -1
View File
@@ -719,7 +719,7 @@ func (t *Twrite) handle(cs *connState) message {
return syscall.EINVAL
}
// Can it be write? Check permissions.
// Can it be written? Check permissions.
if openFlags&OpenFlagsModeMask == ReadOnly {
return syscall.EPERM
}