How to change DEFAULT file permissions so others can write to file

Discussion in 'macOS' started by jeffsyrop, Sep 21, 2009.

  1. jeffsyrop macrumors newbie

    Mar 6, 2009
    Using OS X Leopard 10.5.8 on PowerPC G5

    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?
  2. Tex-Twil macrumors 68020


    May 28, 2008
    you have to modify the umask on the system. umask sets the default permissions that are used when a new file is created.

    To see the current value of umask in a numeric or more human readable form
    $ umask
    $ umask -S
    If you want to add write permissions to "other":
    $ umask 0020
    So they are now read.write, execute for "others"
    $ umask -S
    Consider though the security issues this might bring.

    Hope it helps,

Share This Page