Commits

Anonymous committed 457197c Merge

am 348c8aba: Only set permissions on dirs or files

* commit '348c8aba0d2df2996e0fe57900ef518c6aeb4b29':
Only set permissions on dirs or files

  • Participants
  • Parent commits 0e110bb, 348c8ab

Comments (0)

Files changed (1)

VolumeManager.cpp

 
             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);