17

I am running rsync daemon with a specific user on Ubuntu machine. The problem is that since daemon users don't login, the umask set for the user is the default one.

How do I set umask for the user in the daemon process?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
CuriousGuy
  • 635
  • 2
  • 7
  • 15

1 Answers1

23

There is a UMask= directive in the [Service] section. Note that it's really UMask, with a capital M.

ckujau
  • 1,385
  • 6
  • 15
Bigon
  • 2,062
  • 16
  • 19