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?

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.