Chuck Posted October 11, 2007 Posted October 11, 2007 I've built a solution that makes use of the Get( DesktopPath ) function. For all of the machines running the system except one, this works fine. This is happening on Macs across the board. For those machines under which this is working, the function returns something like this: /Aslan/Users/chuck/Desktop/ However, on one machine, and only on this one, it returns something like this: /chuck/Desktop/ Has anyone else experienced this kind of behavior? Can anyone offer an explanation as to its possible origin? One difference that it is not due to is that one runs under an Admin account and the other does not. I tested this under both types of accounts on my machine and the function returned the correct result. Thanks, Chuck
Tori Mitchell Posted October 11, 2007 Posted October 11, 2007 Which version of OSX are the machines running? Seems like a scope issue.
Chuck Posted October 11, 2007 Author Posted October 11, 2007 I believe that all are running some iteration of Tiger, but I'll double-check. Thanks, Chuck
Chuck Posted October 11, 2007 Author Posted October 11, 2007 The system with the odd behavior is running 10.4.10, as is mine.
Chuck Posted October 11, 2007 Author Posted October 11, 2007 This is a FileVault issue. The client sent a screenshot of one of her Finder windows and it showed the home folder icon in the sidebar, which had the FileVault icon. I created an encrypted account on my computer and tested Get( DesktopPath ) and it returned /encrypted/Desktop/ rather than /Aslan/Users/encrypted/Desktop/ . I find it odd that the path returned even in the "correct" instance includes the volume name in the path. If I had never seen what was returned, I would have expected /Users/username/Desktop/ without the volume name (what the shell would return from pwd with the addition of the trailing slash). Regardless, passing the default value to a plugin resulted in correct behavior when logged in under a normal home folder.
Recommended Posts
This topic is 6251 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now