I'm trying to restore a backed up container and it throws an error if I specify the the restored container to be unprivileged.
Here is the command:
The back up is stored on NFS storage.
The errors occur when extracting the backup and it starts throwing permission denied errors like this:
Any idea why this occurs? If I restore without specifying it as unprivileged, it works just fine. I'm assuming its due to the fact that it's the unprivileged user that extracts the tar archive, but I'm not quite sure what the intended solution is. I have restored numerous unpriviliged containers but I only run into issues with CT's that have more than one disk.
Here is the command:
Code:
pct restore 115 /mnt/pve/ds01/dump/vzdump-lxc-115-2017_03_07-09_14_18.tar.lzo -ignore-unpack-errors 1 -unprivileged -storage prod
The back up is stored on NFS storage.
The errors occur when extracting the backup and it starts throwing permission denied errors like this:
Code:
tar: ./var/www/site/3355-768x576.jpg: Cannot open: No such file or directory
tar: ./var/www/site: Cannot mkdir: Permission denied
Any idea why this occurs? If I restore without specifying it as unprivileged, it works just fine. I'm assuming its due to the fact that it's the unprivileged user that extracts the tar archive, but I'm not quite sure what the intended solution is. I have restored numerous unpriviliged containers but I only run into issues with CT's that have more than one disk.
Last edited: