ref: 99d851d8cf3adb89d0f7d70850ed19056aa72edf
parent: 04cca87860941d8613c81b5b7928078856cf2501
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Jun 10 13:18:31 EDT 2015
cifsd: smbrename is still ok when file is readonly (fixed git)
--- a/sys/src/cmd/ip/cifsd/smb.c
+++ b/sys/src/cmd/ip/cifsd/smb.c
@@ -659,7 +659,7 @@
r->respond(r, smbmkerror());
goto out;
}
- if(!matchattr(d, sattr) || (dosfileattr(d) & ATTR_READONLY)){+ if(!matchattr(d, sattr)){r->respond(r, STATUS_NO_SUCH_FILE);
goto out;
}
--
⑨