Koozali.org: home of the SME Server

umask don't work

Troels Hansen

umask don't work
« on: September 25, 2002, 01:43:16 PM »
When my users copy files to the e-smith server, the files get a default permission on 660. I have tried setting up a umask, but dosen't work. The problem exist both when ftp'ing and when copying files over samba. Any suggestions on how to solve this problem?

Nathan Fowler

Re: umask don't work
« Reply #1 on: September 26, 2002, 01:31:08 AM »
What umask did you use?  Just in case you didn't know, umask notation isn't the same as the octal chmod notation.

Troels Hansen

Re: umask don't work
« Reply #2 on: September 29, 2002, 07:32:16 PM »
Dosen't really matter what umask I use. The result is always the same. Anyway. Tha umask I would like to have is 022. If I do a umask -S it reports the right settings u=rxw,g=rx,o=rx but whan uploading files they stille get rw-rw----