transfer home directroy to another machine (also running bazzite KDE)

I am trying to install bazzite on my deck while transfering over my main machine home directory (so i can keep the same kde theme and everything)

I setup up my steam deck with the same username and password as my main machine and tared my home dir

however I am having issues with permisions.

shouldn't the user on my deck have the same permisions as the user on my main machine?
Solution
perfect this worked flawlesly

tar --exclude='.local/share/polkit**' --exclude='.local/share/containers' --exclude='.local/share/Steam' --exclude='.local/share/chezmoi' --exclude='.local/share/waydroid' --exclude='.local/share/trash' --exclude='**waydroid**' --exclude='.local/share/flatpak' --exclude='.local/share/winapps' -cvp --acls --selinux --xattrs --same-owner -f homefolder.tar AppImages/  bin/ CE-Tables/ Desktop/ .config/ .gnupg/ .themes/ .var/ .webcatalog/ .wine/ .local/share/ .local/state/ .local/rEFInd_GUI/ rEFInd_GUI/ >> tar.log


sudo tar -cvp --acls --selinux --xattrs --same-owner -f homefolder-root.tar homebrew .local/share/waydroid .local/share/waydroid-settings.py/ .local/share/waydroid-settings/ .local/share/applications/ .local/share/polkit-1/  >> tarroot.log

then to extract

tar  -xvp --acls --selinux --xattrs --same-owner -f homefolder.tar >> log.txt

and
sudo tar  -xvp --acls --selinux --xattrs --same-owner -f homefolder-root.tar >> log2.txt

everything now has the correct owner
Was this page helpful?