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

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

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

#1 Post 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!
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#2 Post 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.
Last edited by rockedge on Thu 30 Apr 2020, 19:10, edited 1 time in total.

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#3 Post 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
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]

Post Reply