Help with permissions

Discussion in 'Mac Apps and Mac App Store' started by yippy, Mar 25, 2004.

  1. yippy macrumors 68020

    yippy

    Joined:
    Mar 14, 2004
    Location:
    Chicago, IL
    #1
    I was just wondering is there any way to have multiple owners of a file or folder instead of just one?

    I know that by allowing everyone to read and write should do the same thing but in my case it doesn't. What I want to do is share my iPhoto library between two users on my computer. I have it set up to do this, sort of, the problem is it only alows one user to modify it at a time. Meaning I have to use BatchMod to change the ownership of the whole library.

    I am running 10.2.8 and iPhoto version 2.0.

    Any way to avoid having to change owners every time?

    Thanks
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    You need to make a group consisting of the two users you want to assign the permissions to, then change the offending file(s)' permissions so that the new group you created is the group owner and that group has read and write permission on those file(s). After you do this, you will no longer need to mess around with the owner; the group permissions will ensure that everything goes smoothly. However, I do not think that Mac OS X will let two users modify the same file at once, even if permissions would allow it. If you are simply trying to allow multiple users access to the same file at separate times, this will allow that to happen. In order to make new groups, you need to use the NetInfo utility. I am not familiar with it, so I can't give you specific directions on making a group in NetInfo. However, what I can tell you is that you will need to authenticate with an administrator's password before you can make any changes in NetInfo.
     
  3. stcanard macrumors 65816

    stcanard

    Joined:
    Oct 19, 2003
    Location:
    Vancouver
    #3
    Generally a situation like that is handled like this:

    1) Create a new group something like "PhotoEditors"
    2) Add both accounts to the group
    3) Change the group ownership of the photo library to PhotoEditors, and make it group writeable.

    Creating and adding the users to a group can be done through NetInfo Manager (you can do it through command lines, but this is the least error prone way).

    Changing the group and permissions is probably best accomplished from the command line:

    cd ~/Pictures
    chgrp -R PhotoEditors iPhoto\ Library
    chmod -R g+w iPhoto\ Library

    But, depending on that iPhoto itself does, those changes may not work. They should, but iPhoto may do it's own permissions setting and security checks. YMMV.
     
  4. yippy thread starter macrumors 68020

    yippy

    Joined:
    Mar 14, 2004
    Location:
    Chicago, IL
    #4
    it worked

    Thanks for your help guys. Tt worked, I can now moddify the photos from both accounts. :p
     

Share This Page