diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-10 17:18:31 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-10 17:18:31 +0200 |
commit | 036ae2e397eb62ca95f05d180df14c1320dcdfe4 (patch) | |
tree | 9dad5ef2382e308a496ae3e9883af6940565a29d /sys/src/cmd/ip | |
parent | c89b0b3c238ff4e288f259be211f3b878bd0c30d (diff) |
cifsd: smbrename is still ok when file is readonly (fixed git)
Diffstat (limited to 'sys/src/cmd/ip')
-rw-r--r-- | sys/src/cmd/ip/cifsd/smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/cifsd/smb.c b/sys/src/cmd/ip/cifsd/smb.c index 9e6f9cf3c..47e065c32 100644 --- a/sys/src/cmd/ip/cifsd/smb.c +++ b/sys/src/cmd/ip/cifsd/smb.c @@ -659,7 +659,7 @@ smbrename(Req *r, uchar *h, uchar *p, uchar *e) 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; } |