mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +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. |
||
---|---|---|
.. | ||
auto | ||
beacon | ||
config | ||
db | ||
discover | ||
events | ||
fnmatch | ||
ignore | ||
lamport | ||
model | ||
osutil | ||
scanner | ||
stats | ||
symlinks | ||
upgrade | ||
upnp | ||
versioner |