Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Troels Hansen on September 25, 2002, 01:43:16 PM

Title: umask don't work
Post by: Troels Hansen 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?
Title: Re: umask don't work
Post by: Nathan Fowler 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.
Title: Re: umask don't work
Post by: Troels Hansen 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----