|
|
Create a 'one-time-use' root-enabled GUI Finder
Though I agree it is a bad idea, in this case that would not be true. The Finder running as root would use /var/root/ as it's home folder and therefore would not interfere.
The real deal on sudo and preferences
As it happens, you're both wrong. Sudo passes all environment variables, including $HOME, to the process it launches. This means that the new Finder process will use the home folder of the user who typed the sudo command. However, the preferences file is accessed through a system library (using NSUserDefaults or CFPreferences), which ensures preferences file is not corrupted (it will contain the preferences as understood to the last application that wrote to it) and that its owner is not changed. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.24 seconds |
|