Change permissions of newly created files and directories (fixes #1339)
This commit is contained in:
@@ -541,7 +541,7 @@ func (p *rwFolder) handleDir(file protocol.FileInfo) {
|
||||
realName := filepath.Join(p.dir, file.Name)
|
||||
mode := os.FileMode(file.Flags & 0777)
|
||||
if p.ignorePerms {
|
||||
mode = 0755
|
||||
mode = 0777
|
||||
}
|
||||
|
||||
if debug {
|
||||
|
||||
Reference in New Issue
Block a user