]> git.tuebingen.mpg.de Git - dss.git/commit
daemon_init(): Do not set umask to zero.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 25 Oct 2019 11:34:49 +0000 (13:34 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 25 Oct 2019 11:34:49 +0000 (13:34 +0200)
commit0f8170444cf9e2bcc42b64bdcae3a38b7ac55e66
treed3d57acc60cfdc858d3f1e5c23b1ac97b9a7c69a
parent2f2b61d159e93e3da97c21da3d644c2c549bf12c
daemon_init(): Do not set umask to zero.

We don't need this because we actively want rsync to respect the file
creation mask. This does not matter in the common case of a single
source directory because the permission bits will be copied from the
source directory anyway. However, for multiple source directories it
does matter because with umask(0) the top level snapshot directory
is created with mode 777.
daemon.c