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

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



>On Tuesday 30 October 2007 13:42, Andrew Sackville-West wrote:
> On Tue, Oct 30, 2007 at 12:36:01PM -0700, tom arnall wrote:
> > On Monday 29 October 2007 16:03, Andrew Sackville-West wrote:
> > > Argh!!
> >
> > thanks for your patience. can it be old age? ;o) at any rate:
>
> it happens, eh?
>
> > kloro@debian:/$ ls -ld /var
> > drwxr-xr-x 15 root root 360 2005-12-19 03:45 /var/
> > kloro@debian:/$ ls -l /var
> > total 11
> > drwxr-xr-x  2 kloro root   768 2007-08-29 06:38 backups/
> > drwxr-xr-x 19 kloro root   528 2007-02-16 11:38 cache/
> > drwxr-xr-x  3 kloro root  3800 2007-01-12 14:49 games/
> > drwxr-xr-x 61 kloro root  1576 2007-09-25 10:49 lib/
> > drwxrwsr-x  2 kloro staff   48 2004-12-15 14:55 local/
> > drwxrwxrwt  4 kloro root    96 2007-10-30 10:47 lock/
> > drwxr-xr-x 19 kloro root  2960 2007-10-30 10:47 log/
> > drwxrwsr-x  2 kloro mail   144 2007-10-30 12:08 mail/
> > drwxr-xr-x  2 kloro root    48 2005-12-19 02:57 opt/
> > drwxr-xr-x 18 kloro root  1080 2007-10-30 10:48 run/
> > drwxr-xr-x 12 kloro root   328 2007-05-26 14:21 spool/
> > drwxrwxrwt  8 root  root   264 2007-10-30 11:02 tmp/
> > drwxr-xr-x 19 kloro root  1696 2007-07-26 15:34 www/
>
> the rest of /var should be owned by root as well.
>
> andrew@delappy:~$ ls -l /var
> total 64
> drwxr-xr-x  2 root root   4096 2007-10-25 18:51 backups
> drwxr-xr-x 13 root root   4096 2007-10-25 21:17 cache
> drwxr-xr-x  7 root root   4096 2007-08-07 17:55 games
> drwxr-xr-x 46 root root   4096 2007-10-27 09:29 lib
> drwxrwsr-x  2 root staff  4096 2007-04-24 04:56 local
> drwxrwxrwt  3 root root   4096 2007-10-30 13:33 lock
> drwxr-xr-x  9 root root   4096 2007-10-30 13:34 log
> drwxr-xr-x  2 root root  16384 2007-08-06 08:43 lost+found
> drwxrwsr-x  2 root mail   4096 2007-08-25 20:55 mail
> drwxr-xr-x  2 root root   4096 2007-08-06 16:30 opt
> drwxr-xr-x 17 root root   4096 2007-10-30 13:35 run
> drwxr-xr-x  7 root root   4096 2007-04-24 04:56 spool
> drwxrwxrwt  2 root root   4096 2007-10-30 13:34 tmp
>
> and I don't have anything in /var/tmp
>
> andrew@delappy:~$ ls -l /var/tmp
> total 0
>
> to compare to.
>
> > after doing 'sudo chown -R root /var/tmp', i get:
> >
> > kloro@debian:/$ ls -l /var/tmp
> > total 0
> > drwx------ 8 root  kloro 256 2007-10-29 17:53 kdecache-kloro/
> > drwx------ 3 kloro kloro 128 2007-10-30 11:04 kdecache-kloro7k3iRa/
> > drwx------ 5 root  root  176 2006-01-29 16:10 kdecache-root/
> > drwx------ 4 root  root  152 2007-10-02 17:11 kdecache-rootcohchy/
> > drwx------ 6 root  root  200 2007-02-03 13:52 kdecache-rootKvAh16/
> > drwxrwxrwt 2 root  root   48 2005-12-19 02:58 vi.recover/
> > kloro@debian:/$
> >
> > but firefox still won't save stuff unless i start it with 'sudo'.
>
> if you look at the perms of vi.recover/ you'll see that it has the
> same perms as its parent. I think that should be the case for all
> those. Seeing as that's a tmp dir though, what *I* would do at this
> point is log out and shutdown kde. then mv all those directories
> somewhere else for now, leaving just an empty /var/tmp and then
> reboot. If it bombs, you can move all those things back. Its a tmp
> directory, so you should be able to do that and have kde recreate
> whatever it needs there.
>
> hth
> A


when you say 'the rest of /var should be owned by root as well,' do you mean 
everything under /var, not just the immediate subdirectories?





Reply to: