[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: When I try to save html pages, nothing happens



On Monday 29 October 2007 14:53, Andrew Sackville-West wrote:
> On Mon, Oct 29, 2007 at 02:19:04PM -0700, tom arnall wrote:
> > On Monday 29 October 2007 13:11, Andrew Sackville-West wrote:
> > > On Mon, Oct 29, 2007 at 01:05:34PM -0700, tom arnall wrote:
> > > > When I try to save html pages or whatever with firefox, nothing
> > > > happens. (i recently screwed up the permissions on my system.) but if
> > > > i start it as root ('sudo'), or use iceape, all is ok.
> > >
> > > what specifically happens? do you get a save dialog at all? does it
> > > seem to save but leave no file?
> > >
> > > regardless of the above, based on your whole permissions history, I'd
> > > say you should remove and reinstall firefox as a good starting point.
> > >
> > > A
> >
> > no save dialog, tho' nothing like a complaint that it can't save. it acts
> > in other words as if a good save except that nothing gets save,
>
> except that saving the page should pop up a save dialog, so its
>  definitely not working properly.
>
> > BUT if i look in
> > the ff error console, i find:
> >
> > 	Error: null has no properties
> > 	Source File: chrome://mozapps/content/downloads/downloads.js
> > 	Line: 545
> >
> > 	Error: not well-formed
> > 	Source File:
> > file:///home/kloro/.mozilla/firefox/uvxnoydh.Default%20User/\
> > downloads.rdf
> > 	Line: 3125, Column: 36
> > 	Source Code:
> > 	  <RDF:Description RDF:about="/tmp/É-Å(Þ·²ÎÒÒ.mp3"---
> >
> > 	Error: uncaught exception: [Exception... "ServiceManager::\
> > 	GetService returned failure code:"  nsresult: \
> > 	"0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: \
> > 	"JS frame :: chrome://mozapps/content/downloads/\
> > 	downloads.js :: Startup :: line 476"  data: no]
> >
> > 	Error: null has no properties
> > 	Source File: chrome://mozapps/content/downloads/downloads.js
> > 	Line: 545
>
> I don't know about this at all, but below...
>
> > also, when i did reinstall, i got the message:
> >
> > 	Reading changelogs... Done
> > 	Error: "/var/tmp/kdecache-kloro" is owned by uid 1000 instead of uid 0.
> > 	Link points to "/var/tmp/kdecache-rootcohchy"
> > 	Error: "/tmp/kde-kloro" is owned by uid 1000 instead of uid 0.
> > 	Link points to "/tmp/kde-root"
> > 	Error: "/tmp/ksocket-kloroyr3bC5" is owned by uid 1000 instead of uid 0.
> > 	Link points to "/tmp/ksocket-root"
> > 	Error: "/var/tmp/kdecache-kloro" is owned by uid 1000 instead of uid 0.
> > 	Link points to "/var/tmp/kdecache-rootcohchy"
> > 	apt-listchanges: Do you want to continue? [Y/n]?
>
> what are the perms of /var itself and its subdirs?  mine looks like
> this:
>
>
> andrew@basement:~/.emacs.d$ ls -ld /var
> drwxr-xr-x 15 root root 1.0K 2007-08-04 09:05 /var
> andrew@basement:~/.emacs.d$ ls -l /var
> total 26K
> drwxr-xr-x  2 root root  1.0K 2007-10-29 06:25 backups
> drwxr-xr-x 17 root root  1.0K 2007-10-16 18:08 cache
> drwxr-xr-x  3 root root  1.0K 2006-09-26 16:59 games
> drwxr-xr-x 52 root root  1.0K 2007-10-18 11:23 lib
> drwxrwsr-x  2 root staff 1.0K 2004-12-15 14:55 local
> drwxrwxrwt  2 root root  1.0K 2007-10-19 09:49 lock
> drwxr-xr-x 13 root root  3.0K 2007-10-29 11:52 log
> drwxr-xr-x  2 root root   12K 2006-07-28 18:39 lost+found
> drwxrwxrwt  2 root mail  1.0K 2007-10-29 14:00 mail
> drwxr-xr-x  2 root root  1.0K 2006-07-28 18:40 opt
> drwxr-xr-x 21 root root  1.0K 2007-10-29 11:46 run
> drwxr-xr-x 10 root root  1.0K 2007-09-06 11:48 spool
> drwxrwxrwt  4 root root  1.0K 2007-10-29 11:52 tmp
>
> anything under /var/tmp should be owned by root (UID 0), and not you
> (UID 1000, probably), so start there.
>
> hth.
>
> A

did a chown -R on var/tmp. then started ff and got some error messages. 
session as follows:

an:/$ cd tmp
kloro@debian:/tmp$ ls -l
total 1
srw-rw---- 1 kloro audio     0 2007-10-29 12:17 
alsa-dmix-3591-1193685441-909804=
srwxrwxrwx 1 cwnn  nogroup   0 2007-10-29 12:15 cd_sockV4=
drwx------ 3 kloro kloro    72 2007-10-29 12:16 gconfd-kloro/
drwx------ 2 kloro kloro    96 2007-10-29 14:53 kde-kloro/
drwx------ 2 root  root     48 2007-10-29 14:06 kde-root/
drwx------ 3 kloro kloro   504 2007-10-29 14:19 ksocket-kloroyr3bC5/
drwx------ 2 root  root     48 2007-10-29 14:06 ksocket-root/
drwx------ 2 kloro kloro   528 2007-10-29 14:09 orbit-kloro/
drwx------ 2 kloro kloro    48 2007-10-29 12:30 plugtmp/
drwx------ 2 kloro kloro    80 2007-10-29 12:20 ssh-SJYMtO3390/
srwxrwxrwx 1 root  root      0 2007-10-29 12:15 td_sockV4=
kloro@debian:/tmp$ sudo chown root -R
chown: missing operand after `root'
Try `chown --help' for more information.
kloro@debian:/tmp$ sudo chown -R root
chown: missing operand after `root'
Try `chown --help' for more information.
kloro@debian:/tmp$ man chown
Reformatting chown(1), please wait...
kloro@debian:/tmp$ sudo chown -R root *
kloro@debian:/tmp$ ls -l
total 1
srw-rw---- 1 root audio     0 2007-10-29 12:17 
alsa-dmix-3591-1193685441-909804=
srwxrwxrwx 1 root nogroup   0 2007-10-29 12:15 cd_sockV4=
drwx------ 3 root kloro    72 2007-10-29 12:16 gconfd-kloro/
drwx------ 2 root kloro    96 2007-10-29 14:53 kde-kloro/
drwx------ 2 root root     48 2007-10-29 14:06 kde-root/
drwx------ 3 root kloro   504 2007-10-29 14:19 ksocket-kloroyr3bC5/
drwx------ 2 root root     48 2007-10-29 14:06 ksocket-root/
drwx------ 2 root kloro   528 2007-10-29 14:09 orbit-kloro/
drwx------ 2 root kloro    48 2007-10-29 12:30 plugtmp/
drwx------ 2 root kloro    80 2007-10-29 12:20 ssh-SJYMtO3390/
srwxrwxrwx 1 root root      0 2007-10-29 12:15 td_sockV4=
kloro@debian:/tmp$ ff
kloro@debian:/tmp$ GConf Error: Failed to contact configuration server; some 
possible causes are that you need to enable TCP/IP networking for ORBit, or 
you have stale NFS locks due to a system crash. See 
http://www.gnome.org/projects/gconf/ for information. (Details -  1: IOR 
file '/tmp/gconfd-kloro/lock/ior' not opened successfully, no gconfd located: 
Permission denied 2: IOR file '/tmp/gconfd-kloro/lock/ior' not opened 
successfully, no gconfd located: Permission denied)

** (Gecko:7526): WARNING **: Owner of /tmp/orbit-kloro is not the current user

GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details -  1: IOR file '/tmp/gconfd-kloro/lock/ior' not opened 
successfully, no gconfd located: Permission denied 2: IOR 
file '/tmp/gconfd-kloro/lock/ior' not opened successfully, no gconfd located: 
Permission denied)

kloro@debian:/tmp$

kloro@debian:/$ ls -l
total 151
drwxr-xr-x   2 root root   2488 2007-09-24 15:01 bin/
drwxrwxrwx   3 root root    928 2006-08-19 12:46 boot/
-rwxrwxrwx   1 root root  10098 2006-08-17 11:48 boot-log*
drwxrwxrwx   2 root root     48 2006-04-05 13:58 c:/
drwxrwxrwx   2 root root     48 2006-03-24 19:03 cd/
lrwxrwxrwx   1 root root     11 2005-12-19 02:57 cdrom -> media/cdrom/
drwxr-xr-x  13 root root  13220 2007-10-29 12:16 dev/
drwxrwxrwx 157 root root   8736 2007-10-29 14:08 etc/
-rwxrwxrwx   1 root root  18328 2007-02-03 13:29 exp.k3b*
drwxrwxrwx   6 root staff   144 2006-10-30 14:16 home/
drwxr-xr-x   2 root root     48 2005-12-19 02:57 initrd/
lrwxrwxrwx   1 root root     28 2006-04-16 01:47 initrd.img -> 
boot/initrd.img-2.4.27-2-386*
lrwxrwxrwx   1 root root     27 2005-12-19 02:59 initrd.img.old -> 
boot/initrd.img-2.6.8-2-386*
drwxr-xr-x  14 root root   4744 2007-09-24 15:18 lib/
-rw-r--r--   1 root root   1777 2006-09-22 18:07 lotsaclocks.css
drwxr-xr-x   3 root root    128 2007-01-12 14:37 media/
drwxr-xr-x   2 root root     48 2004-12-15 14:55 mnt/
drwxr-xr-x   2 root root     48 2005-12-19 02:57 opt/
dr-xr-xr-x 112 root root      0 2007-10-29 12:14 proc/
drwxr-xr-x  54 root root   2608 2007-10-13 12:40 root/
drwxr-xr-x   2 root root   4768 2007-09-24 15:02 sbin/
drwxr-xr-x   3 root root     72 2007-07-22 15:33 sD/
drwxr-xr-x   2 root root     48 2005-12-19 02:57 srv/
drwxr-xr-x  11 root root      0 2007-10-29 12:14 sys/
-rw-r--r--   1 root root  82422 2007-02-07 12:17 t
-rw-r--r--   1 root root    919 2006-06-02 11:06 test.k3b
drwxr-xr-x   2 root root     72 2006-09-15 18:46 tfs/
drwxrwxrwx  13 root root    600 2007-10-29 15:25 tmp/
drwxr-xr-x  13 root root    312 2006-04-14 23:51 usr/
-rwxr-xr-x   1 root root    781 2007-10-28 20:56 v*
drwxr-xr-x  15 root root    360 2005-12-19 03:45 var/
lrwxrwxrwx   1 root root     25 2006-04-16 01:47 vmlinuz -> 
boot/vmlinuz-2.4.27-2-386*
lrwxrwxrwx   1 root root     24 2005-12-19 02:59 vmlinuz.old -> 
boot/vmlinuz-2.6.8-2-386*


tom




Reply to: