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

Click here to return to the 'iPhoto 11: Avoid possible data loss' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
iPhoto 11: Avoid possible data loss
Authored by: S Barman on Oct 28, '10 06:10:53PM
First, I don't understand what the problem is. If we knew what the permissions were before changing them and any error messages, it would be greatly helpful to diagnose this properly.

Second, the only permission value that counts is the user permissions. You can set the file permissions to 600 (read/write for only the user) and it should work. However, directories should have the permissions set to at least 700 (read/write/execute for the user where in the case of a directory, it means you can scan the directory on the way down the tree). You can do this:

cd ~/Pictures
chmod -R 600 iPhoto\ Library # or you can make the permissions 644 is you'd like
find iPhoto\ Library -type d -exec chmod +x {} \; # add the execute bit for directories

NOTE: I hate to make everything world accessible just in case the system is hacked. In the security world, it's called "Least Privilege." I want permissions set to the least privilege possible. I also loathe making files that are not supposed to be executed (e.g., documents, images, etc. that are not programs) executable. While systems have become better over the years in handling this kind of cruft, it is not a good thing to do.

Judging from the conversation, iLife 11 may change the permissions to turn off the execute bit in a directory somewhere. If that's the case, then just run the find command above and it will fix the problem.

[ Reply to This | # ]

iPhoto 11: Avoid possible data loss
Authored by: BlaatMekker on Oct 29, '10 07:27:24AM
chmod -R +X does the same thing as your find. From the man page:


The execute/search bits if the file is a directory or any of the execute/search bits are set in the original (unmodified) mode. Operations with the perm symbol "X" are only meaningful in conjunction with the op symbol "+", and are ignored in all other cases

[ Reply to This | # ]
iPhoto 11: Avoid possible data loss
Authored by: S Barman on Oct 29, '10 08:13:29PM

Ok... I guess I forgot about the "new fangled" changes to chmod!! :-)

It's a good suggested fix to my posting! THANKS!!

[ Reply to This | # ]