I made a complete backup of the system with rsync -aAXv, and set up my encryption. After restoring everything, and booting up and trying to login, openbox didn't want to start, and startx didn't work either. After a bit of testing I noticed that I didn't have the permissions to create the necessary temporary files and therefore x and openbox didn't start.I just ran ls -l on /home/john/.Xresources-rw------- 1 john john 54 Sep 6 11:10 /home/john/.XauthorityWhen I try to run openbox, I get this:Openbox-Message: Unable to make directory  '/home/john/.cache/openbox': Permission deniedOpenbox-Message: Unable to make directory  /home/john/.cache/openbox/sessions: Permission deniedOpenbox-Message: Failed to open the display from the DISPLAY  environment variable.Where does the problem come from?Can using pcmanfm to copy files (ctrl-c + ctrl-v) cause this? I first had to copy the backup from my external harddrive (ext4) to my laptop (btrfs) and then back before I restored the files on my desktop pc.
After restoring a backup my permissions seem to be borked
permissions;backup;rsync;restore