View Full Version : Default permissions on newly created files.
May 20, 2009, 09:22 PM
I know I'm missing something obvious, but I haven't found it yet.
Basically if I create a file on the server, it's read/write to me, read to everybody else.
In Linux, I'd change the umask to be 000 so that it would be read/write whenever a file is created.
Does anybody have an idea of what I can do on OS X Server 10.5 to set the default file creation permissions?
I can change them after the fact and propagate them all the way down. But new files still are RW_R__R__.
Ideas? Direction? Taunts?
May 21, 2009, 11:16 AM
To permanently change the umask for all users, You have to put a line in the /etc/launchd.conf file that looks like this:
of course adjust your umask as needed.
May 21, 2009, 11:37 AM
In Linux, I'd change the umask to be 000
Linux and Mac OS X are very much alike both use umask. However I cant see why you'd want "000".
May 21, 2009, 09:29 PM
I screwed up because I couldn't find the launchd.conf that other documents referred to.
So I actually read those articles instead of skimming, and found that I had to *create* it. D'oh!
So, it's there now, and it's working.
I used 0000 since only 6 people have access to the network right now. When I can get them migrated into an open directory configuration, they'll be able to use user groups. Right now, the Macs in the office are all considered "other" users. :o
Next step, how on earth to get an iCal server working properly where each desktop Mac can have iCal open and edit shared calendars throughout the office... And I only get 2-4 hours a month onsite. :(
Sep 21, 2009, 03:28 PM
We have 15 people sharing files on a network. If we open a file on the network, work on it, and save it, it is readable and writeable for everybody. But if we drag the file off the network, work on it on our own hard drive, and save it, and THEN drag it back to the network, it is read-only for everybody. Documents made on our own hard drives are, by default, read-only for others.
This is a real time waster for us!
This means that every time we make a document on our own hard drives, we have to remember to go to the extra trouble to change it's permissions before we put it on our network. Please, is there some way to change the default settings, so that if I, say, save a Word doc on my hard drive and then move it to the network, it is readable and writeable by everybody without me having to change it's permissions?
I've read something about unmask user, but I don't have a clue about how to do it, and I wonder if there is a downside to doing so, or if it will just make it so our files we make locally are readable and writeable to people on our network and people we email them to.
I'm not afraid to use Terminal, but just not very good at it. I've got a PowerPC G5 running OS 10.5.8.
Thanks a lot for any help you can offer.