Hi, we have a user in Webmin -> Edit Users that is not the main user. We want to use it for SFTP and we are using User Private Groups. It is getting its umask set to 0022, not 002.
Im /etc/profiles we have
UID -gt 199 ] && [ "
/usr/bin/id -gn" = "
/usr/bin/id -un" ]; then
And in the user
-sh-4.2$ /usr/bin/id -gn = tvppclientarea
-sh-4.2$ /usr/bin/id -un = email@example.com
Which is why it is 0022.
What is the proper way of fixing this without breaking stuff?