Click to See Complete Forum and Search --> : Firefox won't update
Landy
10-11-2004, 06:54 AM
Hey all, when I try and update Firefox using the Preferences -> Advanced -> Software Update. I get an error and it won't update.
Its not very descrip[tive, but I did what I thought would fix it, but it didn't.
The error is this: ScreenShot (http://homepage.ntlworld.com/lee.ball2/snapshot12.jpg)
What I read that as was that the Firefox diorectory belonged to root and as I was logged in as me, it couldn't update it. So, rather then log in as root and put my system under risk I opened bash and used chmod 777 on the firefox directory which on my system, I installed to /usr/lib/firefox1.0
Anyone any ideas? Also, from bash, how do I list the directories permissions? I don't know the command.
Thanks
Lee
mrBen
10-11-2004, 07:38 AM
Originally posted by Landy
Anyone any ideas? Also, from bash, how do I list the directories permissions? I don't know the command.
Thanks
Lee
ls -l will show a directory along with permissions.
Landy
10-12-2004, 05:22 AM
Ok, using that on the firefox1.0 folder I get these contents.
[lee@cpc2-ward2-4-0-cust105 lib]$ ls -l firefox1.0
total 12676
drwxr-xr-x 4 root root 4096 Oct 2 23:14 chrome/
drwxr-xr-x 3 root root 4096 Oct 2 23:14 components/
-rw-r--r-- 1 root root 24 Oct 2 23:14 components.ini
drwxr-xr-x 5 root root 4096 Oct 2 23:14 defaults/
drwxr-xr-x 3 root root 4096 Oct 2 23:14 extensions/
-rwxr-xr-x 1 root root 6694 Sep 14 01:16 firefox*
-rwxr-xr-x 1 root root 9735896 Sep 14 01:16 firefox-bin*
drwxr-xr-x 2 root root 4096 Oct 2 23:14 greprefs/
drwxr-xr-x 2 root root 4096 Oct 2 23:14 icons/
-rw-r--r-- 1 root root 33881 Oct 2 23:14 install.log
-rwxr-xr-x 1 root root 446004 Sep 14 01:16 libmozjs.so*
-rwxr-xr-x 1 root root 177164 Sep 14 01:16 libnspr4.so*
-rwxr-xr-x 1 root root 405372 Sep 14 01:16 libnss3.so*
-rwxr-xr-x 1 root root 170068 Sep 14 01:16 libnssckbi.so*
-rwxr-xr-x 1 root root 15272 Sep 14 01:16 libplc4.so*
-rwxr-xr-x 1 root root 8240 Sep 14 01:16 libplds4.so*
-rwxr-xr-x 1 root root 134188 Sep 14 01:16 libsmime3.so*
-rw-r--r-- 1 root root 476 Sep 14 01:16 libsoftokn3.chk
-rwxr-xr-x 1 root root 419824 Sep 14 01:16 libsoftokn3.so*
-rwxr-xr-x 1 root root 125376 Sep 14 01:16 libssl3.so*
-rwxr-xr-x 1 root root 94888 Sep 14 01:16 libxpcom_compat.so*
-rwxr-xr-x 1 root root 661264 Sep 14 01:16 libxpcom.so*
-rwxr-xr-x 1 root root 7736 Sep 14 01:16 libxpistub.so*
-rwxr-xr-x 1 root root 236607 Sep 14 01:16 mozilla-xremote-client*
drwxr-xr-x 2 root root 4096 Oct 2 23:14 plugins/
-rw-r--r-- 1 root root 335 Oct 2 23:14 registry
drwxr-xr-x 7 root root 4096 Oct 2 23:14 res/
-rwxr-xr-x 1 root root 10897 Sep 14 01:16 run-mozilla.sh*
drwxr-xr-x 2 root root 4096 Oct 2 23:14 searchplugins/
-rwxr-xr-x 1 root root 147484 Sep 14 01:16 xpicleanup*
deathadder
10-12-2004, 06:33 AM
If you want to change the owner for the directory:
chown -R username firefox1.0/
and
chgrp -R username firefox1.0/
This then means that you user is the owner of the folder and the files within, you should then have no problems running the Firefox update.
Landy
10-12-2004, 07:29 AM
Cheers, thats sorted it. I thought the ownership and group might have needed changing but wasn't sure what to do.
Also, wasn't aware that just changing the permissions wasn't enough.
psi42
10-12-2004, 08:37 AM
What happened to the Right Way to do things?
Landy
10-12-2004, 11:06 AM
Huh? :confused: