Shared iPhoto Library, thumbnails not visible

Discussion in 'Mac Apps and Mac App Store' started by nielssiem, Oct 6, 2011.

  1. nielssiem macrumors newbie

    Joined:
    Oct 27, 2007
    #1
    Hello,

    Have a bit of a weird problem.
    Setup:
    iMac, multiple accounts, Shared iPhoto library in /Users/Shared


    When user A imports a picture into iPhoto, everything is fine.
    When you logout and login as user B the photo is not visible in iPhoto.
    When user B logs out and login as user A again.. the photo is not visible anymore for user A......

    What is going on?

    When I open the iPhoto Library (right click) as "Show Package Contents" I can find the photo's in the Originals folders.
     
  2. ShinyDren macrumors member

    ShinyDren

    Joined:
    Jun 25, 2010
    Location:
    Ambitoysterous, USA
    #2
    This sounds like it is a file permissions problem. The /Users/Shared folder is not set up as a fully 'read/write any file by everyone' container. The way Apple sets it up is useful for some things but not for what you are wanting to do.

    But there is a possible solution using ACL's [Access Control Lists] (based off what I have used for VirtualBox). Some parts can be done with the Finder, but some require using the Terminal (Applications > Utilities > Terminal).

    - First you need to make a backup of your current iPhoto library and/or pictures in case any problems arise.

    - You will need to use a user account with admin rights to do the initial setup.

    - Create a new "Pictures" folder in the shared folder (/Users/Shared/Pictures). If this already exists then rename it or use a different name, but it must be new and empty.

    - Change the permissions on the new folder to allow everyone read/write access with basic permissions. In terminal:
    Code:
    chmod 777 /Users/Shared/Pictures
    - Set ACL's to really give all users full access to files within the new folder. In Terminal (all on one line):
    Code:
    sudo chmod -R +a "group:staff allow delete,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,list,search,add_file,add_subdirectory,delete_child,read,write,append,execute,file_inherit,directory_inherit" /Users/Shared/Pictures
    If you want the nitty-gritty of what that command does you can read the chmod man page.

    - Now copy* your existing iPhoto Library into the new folder, or create an empty library there to start from scratch.

    It should now work for any user. Run it through some tests trying different things with some images to make sure it works correctly.



    * You must copy** (or create a new file) and not move the files into the new folder for them to inherit the ACL properties. iPhoto itself should copy/create files automatically after you start using it normally.

    ** To copy files in the Finder, hold down the alt/option key while draging the file to the new location (a green dot with a + will appear next to the cursor as you drag it).


    Hope this works for you or at least helps some. :)
     
  3. nielssiem thread starter macrumors newbie

    Joined:
    Oct 27, 2007

Share This Page