Score:2

pure-ftpd doesn't apply umask to file permission

in flag

I'm trying to set up pure-ftpd on Ubuntu 22.04.1 LTS with a default file permission for uploaded files, but it doesn't seem to apply my umask config for some reason.

I want the permission to be 660 for both files and directories.

In /etc/pure-ftpd/pure-ftpd.conf I changed the following line:

Umask  137:137

However, when new files are created they have permission 644.

My entire conf file can be seen here.

Let me know if any additional information would help.

Sumsar avatar
in flag
@guiverc Thanks for mentioning it
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.