0

I am running El Capitan Beta, but this question would also apply to Yosemite.

I want another account's (account B) "Photos" app to link to my primary account's (account A) Photos library without moving my library to an outside drive without permissions. I can't point the Library from the Photos App in account B to to the Library in account A. I have added Account B with full permission read and write with extended ACL permissions to account A's /User/AccountA/Pictures folder and Photos Library. Verified with ls -le.

So... the best solution I see is to create a hard link from /User/AccountB/Pictures/AccountBLibrary -> /User/AccountA/Pictures/AccountALibrary so that it always points to that inode. Can anyone see a reason NOT to do this or a better way to link the two without moving my photos library on Account A.

Edit: Well for one - you can't hard link a directory (which obviously pictures libraries are)... so to reword my question - What about soft link? (Symbolic) (Thanks fd0). And now I can see - It produces the same error (because it isn't a hard link). So... can I accomplish this?

The goal is to not duplicate photos (I use iCloud photo library, but I don't want to duplicate even "optimized" photos).

  • You can't hard link directories but you could hard link the files. – fd0 Aug 19 '15 at 16:46
  • Ah you just beat me to it - I edited mine and on submit had a comment - So any reason not to soft link? - And after a test - I see it produces the same error. So is there a way to do this? – Diesel Aug 19 '15 at 16:47
1

The iPhoto library is a package container not really a single file. There are .plist, .db and other files in the package that might get altered differentially when you open via the different accounts. This might contribute to the problems people mentioned. Crazy idea, and I haven't tried it, but it might be better to recreate the package content on the new account using symbolic links to the folders that contain the actual photos on the old account. This way all the .plist, .db and related files in the package can remain local to the new account, but you accomplish your goal of not copying the actual photos. I definitely would back up the library before giving this a try.

0

Oh man - even if you could, you are almost sure to mess up one or the other. The beta software will re-write files and database information that will cause the non-beta and older version of photos problems when they read those changed files and data structures.

If you really are convinced to mix libraries:

  1. Make a backup and test that it works. Keep that backup off-line until you're done with the beta. Also, you'll need to systematically archive all new files in case you need to throw out both libraries and start over.
  2. Consider using iCloud to mediate the photo library. I've had limited success with that and no horrible issues.
  3. I know people that tried what you are attempting (well they just took the entire home folder and ran it on the new OS - but that's less risky and functionally equivalent to having hard links) and it caused them to lose files and data.

Good luck.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .