am 348c8aba
: Only set permissions on dirs or files
* commit '348c8aba0d2df2996e0fe57900ef518c6aeb4b29': Only set permissions on dirs or files
This commit is contained in:
commit
457197c500
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ int VolumeManager::fixupAsecPermissions(const char *id, gid_t gid, const char* f
|
|||
|
||||
if (ftsent->fts_info & FTS_D) {
|
||||
result |= fchmod(fd, 0711);
|
||||
} else {
|
||||
} else if (ftsent->fts_info & FTS_F) {
|
||||
result |= fchmod(fd, privateFile ? 0640 : 0644);
|
||||
}
|
||||
close(fd);
|
||||
|
|
Loading…
Reference in a new issue