[SOLVED] Wie kann ich den Berechtigungsfehler aufheben?

Kusselin

Member
Mar 26, 2021
129
2
23
43
Hallo Zusammen, ich habe den Container gestoppt und danach wollte ich wieder ein Backup auf meiner Syno durchführen, leider bekomme ich einen Fehler mit "Permissions denied" Wie kann ich das beheben bitte? Bin nicht so der Linux Experte.

Über ne Info herzlichen Dank.

Gruss
Code:
INFO: starting new backup job: vzdump 260 --remove 0 --node pve --mode stop --storage Backup_Syno_213 --compress zstd
INFO: Starting Backup of VM 260 (lxc)
INFO: Backup started at 2021-05-16 17:56:30
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: webserver-live
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/mnt/pve/Backup_Syno_213/dump/vzdump-lxc-260-2021_05_16-17_56_30.tar.zst'
INFO: tar: /mnt/pve/Backup_Syno_213/dump/vzdump-lxc-260-2021_05_16-17_56_30.tmp: Cannot open: Permission denied
INFO: tar: Error is not recoverable: exiting now
ERROR: Backup of VM 260 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/Backup_Syno_213/dump/vzdump-lxc-260-2021_05_16-17_56_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/Backup_Syno_213/dump/vzdump-lxc-260-2021_05_16-17_56_30.tar.dat' failed: exit code 2
INFO: Failed at 2021-05-16 17:56:31
INFO: Backup job finished with errors
TASK ERROR: job errors
 
Last edited:
Und dafür lief es? Klingt so als wäre dein LXC unprivilegiert und der gemappte root im LXC hat keine Schreibrechte auf deinen Backup-Storage (vermutlich ein Share auf einem NAS)? Guck mal das du da dem User mit der UID 100000 Schreibrechte auf den Share gibst oder es auch chmod 777 setzt damit jeder darauf schreiben darf.
 
das musste ich aber noch nie machen....auf der NAS bin ich admin und habe lese- und schreibrechte für den Ordner wo die schon gemachten Sicherungen drin liegen...

Könntest du mir das kurz erklären welche Schritte ich da ausführen muss? Bin nicht so der Linux Freak.

Danke im Voraus
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!