You are not logged in.
Pages: 1
Hey, so I tried to move home without reading up on it first. I managed to do it by copying it to a backup, changing the fstab, mounting /home to my new partition on a seperate drive, and copying all contents of the home-backup to the newly mounted /home
I rebooted and could login, but /bin/bash cannot access the /home/user directory with an error of Permsision denied. I googled it and found that I should do 'chmod 755 /' and 'chmod 755 /home/user'
Now I can access the directoyry as my user, but when I startx it prints "xauth: timeout in locking authority for /home/user/Xauthority" in about ~15 second intervals
Last edited by stephenl7797 (2014-02-13 03:58:12)
Offline
Your permissions on .Xauthority are too permissive.
chmod 600 .XauthorityOffline
you should've used 'cp -p' when backing up to preserve permission, ownership etc.
either way, I think it should still apply the default permissions for files when you copy it (755 for directories and 644 for files if I'm not mistaken), but it will probably change the file onwnerships if you backed up with different user (like root).
I suggest checking file ownerships in your new /home, with 'ls -l'. If they're not owned by your user, you can change this for your /home with 'chown -R <yourusername>:users /home/<yourusername>'
Offline
you should've used 'cp -p' when backing up to preserve permission, ownership etc.
either way, I think it should still apply the default permissions for files when you copy it (755 for directories and 644 for files if I'm not mistaken), but it will probably change the file onwnerships if you backed up with different user (like root).I suggest checking file ownerships in your new /home, with 'ls -l'. If they're not owned by your user, you can change this for your /home with 'chown -R <yourusername>:users /home/<yourusername>'
It worked, thanks
Offline
Pages: 1