mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 10:28:49 -07: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 |