Re: [Hampshire] restoring Mozilla Thunderbird and Firefox fr…

Top Page

Reply to this message
Author: Lisi
Date:  
To: lug, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] restoring Mozilla Thunderbird and Firefox from backup
On Wednesday 09 July 2008 21:53:46 Vic wrote:
> > Have we
> > come to the point where I uninstall, reinstall and tell Peter that he
> > can't have his old files?
>
> Nope. That's always a bad plan...


Poor Peter just said "I'm reconciled to losing them", uttered in a voice of
doom. I asked for the rest of tonight - but I'll need some sleep
unfortunately. (And so may everyone else).
>
> I'd try something along the lines of "strace thunderbird | grep lock" -


It left me none the wiser, but here it is. Practically everything seems to
have been "permission denied" even tho' I was running as root in the
konsole. :-(

[root@Dozy peter]# strace /home/peter/.thunderbird | grep lock
execve("/home/peter/.thunderbird", ["/home/peter/.thunderbird"], [/*
67 vars */]) = -1 EACCES (Permission denied)
dup(2)                                  = 4
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(4, {st_mode=S_IFCHR|0600, st_size=makedev(0, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f32000
_llseek(4, 0, 0xbf9ee7e4, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(4, "strace: exec: Permission denied\n", 32strace: exec: Permission 
denied
) = 32
close(4)                                = 0
munmap(0xb7f32000, 4096)                = 0
exit_group(1)                           = ?
Process 4275 detached
[root@Dozy peter]#


> but note you might need to specify an explicit path in that...


I did have to!

Thanks
Lisi