Page 1 of 1

How to convert ~/.mozilla from root to spot user?

Posted: Thu 30 Apr 2020, 17:05
by vtpup
Out of curiosity, I'd like to move an existing .mozilla from ~/root to spot's home directory. But ownership of all those files is root's. Can someone give me the code to do the conversion? Thanks!

Posted: Thu 30 Apr 2020, 17:24
by rockedge
copy the directory over to ~/spot then open a terminal

Code: Select all

chown -R spot:spot /root/spot/.mozilla
changing ownership of /.mozilla from root to spot recursively.

Posted: Thu 30 Apr 2020, 17:52
by vtpup
Thanks, rockedge. :)

(oops.... one z in mozilla) worked perfectly after that. Everything in Seamonkey 2.53 with old bookmarks, extensions, preferences, mail, etc. now works as Spot after changing /usr/local/bin/defaultbrowser to:

Code: Select all

#!/bin/sh
#exec apulse /opt/seamonkey/seamonkey "$@"
run-as-spot apulse /opt/seamonkey/seamonkey "$@"
apulse is needed for sound because Seamonkey changed to the later Firefox engine after ver. 2.51