[SOLVED] EPERM: Operation not permitted

Hi, freut mich zu hören dass es geht! Ich möchte aber noch erwähnen, dass die Option no_root_squash, je nach Umgebung, ein Sicherheitsrisiko sein kann [1], weil root auf dem Client mit dieser Option als root auf dem NFS-Share Daten lesen und schreiben kann. Besser wäre es, stattdessen all_squash zu nutzen und anonuid/anongid auf 34/34 (das ist der PBS-backup-User) zu setzen. Dann werden alle User (inklusive root) auf dem Client zu 34/34 auf dem Server übersetzt -- das sollte funktionieren, ich habs allerdings selbst nicht getestet.

[1]: https://tldp.org/HOWTO/NFS-HOWTO/security.html#SERVER.SECURITY
 
Last edited:
  • Like
Reactions: dah
Hi, freut mich zu hören dass es geht! Ich möchte aber noch erwähnen, dass die Option no_root_squash, je nach Umgebung, ein Sicherheitsrisiko sein kann [1], weil root auf dem Client mit dieser Option als root auf dem NFS-Share Daten lesen und schreiben kann. Besser wäre es, stattdessen all_squash zu nutzen und anonuid/anongid auf 34/34 (das ist der PBS-backup-User) zu setzen. Dann werden alle User (inklusive root) auf dem Client zu 34/34 auf dem Server übersetzt -- das sollte funktionieren, ich habs allerdings selbst nicht getestet.

[1]: https://tldp.org/HOWTO/NFS-HOWTO/security.html#SERVER.SECURITY
Super feedback!
Vielen Dank!

Habe es angepasst:
Code:
/RAID/PROXMOX/backup    192.168.52.202(rw,sync,all_squash,anonuid=34,anongid=34,no_subtree_check)
 
  • Like
Reactions: fweber

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!