FileVault and path reference bug (3519134) workaround
FileVault and path reference bug (3519134) workaround
- Subject: FileVault and path reference bug (3519134) workaround
- From: Tom Robinson <email@hidden>
- Date: Tue, 30 Mar 2004 19:39:14 +1200
Hi folks,
I've been struck by the AppleScript bug where you can't access files on a FileVault protected home folder.
Mark has documented it at <
http://homepage.mac.com/mdouma46/panther/bugs.html>.
My own test was this AppleScript:
property Logs : alias ((path to library folder from user domain as text) & "Logs:")
tell application "Finder"
open Logs
set theComment to comment of Logs
set labelIndex to label index of Logs
end tell
With my FileVault protected home folder this script will fail on the 'comment' line (and also the 'label index' line) with 'Finder got an error: Can't get comment of alias "tom:Library:Logs:"'
The good news I wanted to share with ya'all is I found a workaround:
I created an empty 2 Meg disk image and named the image tom--the same name as my home folder. With this disc image mounted the above script works!
The script also works with a network volume mounted with the same name, which is how I found it.
Hope this helps someone.
10.3.2 and 10.3.3.
Cheers
--
Stuart: bWebre not giving up.b
Snowbell (cajoling): bOh, why not? Giving up is fun. And look at all the time you save. Ibm telling you, Stuart, if more people gave up therebd be fewer wars.bbStuart Little 2 (2002)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.