Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
as root, type ls -a /root
there might be a dir called .firefox, which would hold personal settings. if there is, just copy it over to /home/[newuser]/.firefox
then you might need to set the ownership of the dir and everything in it. try chown -R [newuser] /home/[newuser]/.firefox
*edit*
if there is no .firefox dir, it might be .mozilla, just look for anything to do with firefox, but it must be preceeded by a '.'
This is exactly what is going on, I have a folder called firefox-installer which is located under my /home/moderator/firefox-installer/firefox
on my root desktop I Have added the shortcut of firefix like this:
/home/moderator/firefox-installer/firefox and it works perfeclty when I load it, but when I login as with my user account(not root) it wont work(meaning I dont have my bookmarks and theme as its on my root):
I have changed the permission of the folder:
I typed this:
chown -R moderator /home/moderator/firefox-installer
and this is what I have now
Code:
root@Admin:/home/moderator# ls -l firefox-installer
total 14060
-rw-r--r-- 1 moderator root 219 2005-02-25 20:30 browserconfig.properties
drwxr-xr-x 4 moderator root 4096 2005-03-14 03:59 chrome/
drwxr-xr-x 3 moderator root 4096 2005-03-14 03:59 components/
-rw-r--r-- 1 moderator root 41433 2005-02-26 06:30 config.ini
drwxr-xr-x 5 moderator root 4096 2005-03-14 03:59 defaults/
drwxr-xr-x 2 moderator root 4096 2005-03-14 03:59 extensions/
-rwxr-xr-x 1 moderator root 6338 2005-02-25 20:30 firefox*
-rwxr-xr-x 1 moderator root 9778768 2005-02-25 20:30 firefox-bin*
-rwxr-xr-x 1 moderator root 1699 2005-02-26 06:30 firefox-installer*
-rwxr-xr-x 1 moderator root 1192940 2005-02-26 06:30 firefox-installer-bin*
drwxr-xr-x 2 moderator root 4096 2005-03-14 03:59 greprefs/
-rw-r--r-- 1 moderator root 8976 2005-02-26 06:30 header.png
drwxr-xr-x 2 moderator root 4096 2005-03-14 03:59 icons/
-rw-r--r-- 1 moderator root 3289 2005-02-26 06:30 install.ini
-rw-r--r-- 1 moderator root 26615 2005-03-14 03:59 install.log
-rwxr-xr-x 1 moderator root 449428 2005-02-25 20:30 libmozjs.so*
-rwxr-xr-x 1 moderator root 177164 2005-02-25 20:30 libnspr4.so*
-rwxr-xr-x 1 moderator root 409468 2005-02-25 20:30 libnss3.so*
-rwxr-xr-x 1 moderator root 198152 2005-02-25 20:30 libnssckbi.so*
-rwxr-xr-x 1 moderator root 15272 2005-02-25 20:30 libplc4.so*
-rwxr-xr-x 1 moderator root 8240 2005-02-25 20:30 libplds4.so*
-rwxr-xr-x 1 moderator root 134188 2005-02-25 20:30 libsmime3.so*
-rw-r--r-- 1 moderator root 476 2005-02-25 20:30 libsoftokn3.chk
-rwxr-xr-x 1 moderator root 419824 2005-02-25 20:30 libsoftokn3.so*
-rwxr-xr-x 1 moderator root 125824 2005-02-25 20:30 libssl3.so*
-rwxr-xr-x 1 moderator root 665424 2005-02-25 20:30 libxpcom.so*
-rwxr-xr-x 1 moderator root 94888 2005-02-25 20:30 libxpcom_compat.so*
-rwxr-xr-x 1 moderator root 7736 2005-02-25 20:30 libxpistub.so*
-rw-r--r-- 1 moderator root 6423 2005-02-26 06:30 license.txt
-rwxr-xr-x 1 moderator root 236671 2005-02-25 20:30 mozilla-xremote-client*
drwxr-xr-x 2 moderator root 4096 2005-03-14 03:59 plugins/
-rw-r--r-- 1 moderator root 335 2005-03-14 03:58 registry
drwxr-xr-x 7 moderator root 4096 2005-03-14 03:59 res/
-rwxr-xr-x 1 moderator root 10897 2005-02-25 20:30 run-mozilla.sh*
drwxr-xr-x 2 moderator root 4096 2005-03-14 03:59 searchplugins/
-rw-r--r-- 1 moderator root 55809 2005-02-26 06:30 watermark.png
drwxr-xr-x 2 moderator root 4096 2005-02-26 06:30 xpi/
-rwxr-xr-x 1 moderator root 147500 2005-02-25 20:30 xpicleanup*
if you type ls -a /root then ls /root, you'll notice that there's less dirs the second time, that's because the dirs preceeded by '.' are hidden and used to store user preferences. the one we're interested in is ".firefox". You need to copy it to your /home/moderator dir and change ownership with chown.
to copy it you need to use the cp command. i can't remember the syntax off the top of head unfortunately but i think it's something like 'cp -r /root/.firefox /home/moderator/.firefox' if that doesn't work read up on it using 'man cp'
Is this a problem? Isn't it just that the setting-file is different for user root and user moderator? couldn't you just export bookmarks to file and import them as the user? Same with the theme file?
I did that, but somehow it wont allow me doing certain things, for example I have bookmarks toolbar folder and it wont appear no matter what... There is even one folder that I cant delete, I have tried installing it and reinstalling it again but it wont work,
Originally posted by 0pal_t0ad have you done the 'chown -R moderator /home/moderator/.firefox' part?
Thanks guys got it working now..... somehow my bookmarks were corrupted so I deleted them rm import my bookmarks again, made my permission and it works now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.