Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Sorry, doesn't (completely) work!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sorry, doesn't (completely) work!
Authored by: geoffsaulnier on Nov 04, '03 09:17:40PM
You will need to do a little more work if you want to get all this to work every day. The way iPhoto stores stuff is to create directgories for the year, the month, the day, and then the photos. So, when you import, it creates a directory with your umask pemissions, and the other users cannot access it.

I fix this by setting up a crontab to run every night for the root user:

# Make sure that anyone in group saulnier can write to the iPhoto library
00 02 * * * /usr/sbin/chown -R geoff:saulnier /Users/Shared/iPhoto*; /bin/chmod -R 775 /Users/Shared/iPhoto*

Please excuse any garbling - should be two lines, on starting with a # and the other starting with 00

That ensures that the permissions for the entire thing are reset at 2am every day. I have a group called saulnier, and my wife and I are in it. This would work less well if we were both using it multiple times in the same day.

The ideal would be to attach this to a .logout script - but now, with fast user switching, it is even more difficult to ascertain when a new user is trying to use the app, etc.

Anyone with a clever idea?


Geoff Saulnier - Mac, *NIX, perl, hack!!

[ Reply to This | # ]

Sorry, doesn't (completely) work!
Authored by: jnm on Jan 21, '04 01:49:41PM
Yep, another idea but cannot try it : copy your iPhoto Library on another volume with access rights disabled, then create a symbolic link ala unix :
% cd ~/Pictures/
% mv iPhoto\ Library iPhoto\ Library.old
% ln -s /Volumes/YOUR_VOLUME_NAME_HERE/iPhoto\ Library

Just let me know....


[ Reply to This | # ]