On Tuesday 02 Mar 2010 00:11:54 Carlos E. R. wrote:
On Monday, 2010-03-01 at 09:20 -0000, Bob Williams wrote:
Yes, that's what I thought. The thunderbird/Mail is on my wife's laptop (which I've just converted from Windows to openSUSE ;) ). The backup is an rsnapshot instance running as root on my desktop, and backing up her data across the LAN to my machine. All her documents come over without a problem, but I get 'Permission denied' messages on a lot of her ~/.folders (hidden folders, if you missed the dot), including some of the thunderbird subfolders.
The permissions on these folders are drwx------, and I thought that giving the group read permissions might be what was needed.
No, you need to chown all the files you restored as the user she will run as.
Something like:
find /home/USERNAME/ -type f -exec chown USERNAME:users '{}' \;
find /home/USERNAME/ -type f -exec chmod u+r+w,g+r-w,o-r-w '{}' \; find /home/USERNAME/ -type d -exec chmod u+x+r+x,g+r+x '{}' \;
mutandis mutandi :-)
Many thanks, Carlos I've got working now, without having to chown. It seemed to improve after an exchange of ssh keys between her account on this (my desktop, the backup) machine and her user on her laptop. Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.2, Kernel 2.6.31.12-0.1-desktop, KDE 4.3.5 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org