Monday, May 28, 2007

Mac OS-X Locking of Files

I recently upgraded my iMac w/ iLife 06, which caused my iPhoto to have trouble loading the photo library. The reason was that some files in one of the photo library folders had been locked.

You can individually unlock files using the "GetInfo" command in Finder. There's a little box that needs to be unchecked in the "GetInfo" dialog box.

The fastest way to unlock file contents of a folder was the following script from the command terminal:
 sudo chflags -R nouchg .
The "." refers to the current folder in which the above command is being executed.

The sudo command is similar to a command with which Ubuntu users are also familiar.

No comments: