[Users] Attachments saved with wrong permissions

Slavko linux at slavino.sk
Tue Oct 10 15:40:35 UTC 2023


Dňa 10. októbra 2023 14:48:29 UTC používateľ Paul <paul at claws-mail.org> napísal:

>Keep in mind that the time it will take to code a preference to suit your
>particular requirement would be equivalent to thousands of your manual clicks.

You wrote previously, that umask is bashism. I know that umask is built-in
command of bash, but despite that, the umask is libc function ( i am not C
guy, but i use that call in Python), see:

    https://manpages.debian.org/bookworm/manpages-dev/umask.2.en.html

Thus IMO not bashism, but standard way on unix to set initial file/dir
permissions and bash's command is only interface to read/set it.

regards


-- 
Slavko
https://www.slavino.sk/


More information about the Users mailing list