mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
ac7097b4d0
We need an explicit chmod() when creating a new directory. Otherwise a new directory may be created with a different permission from the one received from an originating device, because the umask is applied to the mode given to mkdir(). The incorrect permission is later sent back to the originating device and the original permission will be lost. |
||
---|---|---|
.. | ||
testdata | ||
debug.go | ||
deviceactivity_test.go | ||
deviceactivity.go | ||
doc.go | ||
folderstate.go | ||
model_test.go | ||
model.go | ||
progressemitter_test.go | ||
progressemitter.go | ||
queue_test.go | ||
queue.go | ||
rofolder.go | ||
rwfolder_test.go | ||
rwfolder.go | ||
sharedpullerstate_test.go | ||
sharedpullerstate.go | ||
tempname_windows.go | ||
tempname.go | ||
util.go |