4 ms·
Using 'su'[0] is the wrong approach. Setting HOME makes the home directory look different, while keeping all of the permissions the same as the current running
by paxswill 14y ago
Using 'su'[0] is the wrong approach. Setting HOME makes the home directory look different, while keeping all of the permissions the same as the current running user. This is all that's needed, as Dropbox (by default) uses '$HOME/Dropbox'.
0: https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/su.1.html https://developer.apple.com/library/mac/#documentation/Darwi...