I upgraded from Proxmox 6 to 7, by doing a clean install of Proxmox 7, mounting NFS shares, and then restoring all backups.
Now, I too am getting the same error talked about in this post:
https://forum.proxmox.com/threads/create-backup-fail-with-error-cannot-open-permission-de.32386/
Note: Proxmox 6 had no issue reading and writing to this exact same NFS storage, but Proxmox 7 cannot write to it.
Others have mentioned the solution of changing permission on the mount point and dump folder. When I try to change the permission on these, at the Linux command prompt, they do NOT change!
The other NFS mounts have permissions drwxrwxr-x, but I cannot change this particular NFS mount point to have those same permissions; it stays drwx------ and chmod cannot modify the permission and chmod gives no error regarding the fact that it is not successfully changing those permissions.
I've tried removing and adding back this NFS storage using the Proxmox web interface. The issue remains.
One potentially weird thing is that this particular NFS storage's hard drive has a NTFS file system and is located on an external hard-drive that is connected to a separate non-proxmox-Linux-server hosting NFS, but Proxmox 6 had no issues writing backups to that. So, if Proxmox 7 is trying to set Linux-level file-permissions on a NFS shared NTFS file system, I can see how that would cause problems: NTFS doesn't have Linux permissions. Is that the difference between Proxmox 6 and 7? How do I get past this?
Please advise.
Now, I too am getting the same error talked about in this post:
https://forum.proxmox.com/threads/create-backup-fail-with-error-cannot-open-permission-de.32386/
Code:
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.tar.zst'
INFO: tar: /mnt/pve/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 104 failed - command 'set -o pipefail && lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536
-- tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-
include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--
directory=/mnt/pve/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.tmp' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--
directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var
/run/?*.pid' ./ | zstd --rsyncable '--threads=1' >/mnt/pve/nfs-external2/dump/vzdump-lxc-104-2021_09_28-06_12_30.tar.dat' failed: exit
code 2
INFO: Failed at 2021-09-28 06:12:31
INFO: Backup job finished with errors
TASK ERROR: job errors
Note: Proxmox 6 had no issue reading and writing to this exact same NFS storage, but Proxmox 7 cannot write to it.
Others have mentioned the solution of changing permission on the mount point and dump folder. When I try to change the permission on these, at the Linux command prompt, they do NOT change!
The other NFS mounts have permissions drwxrwxr-x, but I cannot change this particular NFS mount point to have those same permissions; it stays drwx------ and chmod cannot modify the permission and chmod gives no error regarding the fact that it is not successfully changing those permissions.
I've tried removing and adding back this NFS storage using the Proxmox web interface. The issue remains.
One potentially weird thing is that this particular NFS storage's hard drive has a NTFS file system and is located on an external hard-drive that is connected to a separate non-proxmox-Linux-server hosting NFS, but Proxmox 6 had no issues writing backups to that. So, if Proxmox 7 is trying to set Linux-level file-permissions on a NFS shared NTFS file system, I can see how that would cause problems: NTFS doesn't have Linux permissions. Is that the difference between Proxmox 6 and 7? How do I get past this?
Please advise.
Last edited: