mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-17 10:52:45 +08:00
Merge pull request #787 from trapexit/nfshack
nfsopenhack: remove empty file check
This commit is contained in:
commit
6f76080c6b
|
@ -57,7 +57,7 @@ namespace l
|
|||
if(rv == -1)
|
||||
return (errno=EACCES,-1);
|
||||
|
||||
if(StatUtil::writable_or_not_empty(st))
|
||||
if(StatUtil::writable(st))
|
||||
return (errno=EACCES,-1);
|
||||
|
||||
rv = fs::chmod(fullpath_,(st.st_mode|S_IWUSR|S_IWGRP));
|
||||
|
|
Loading…
Reference in New Issue
Block a user