[SOLVED] CT file permissions after reboot are not changed.

meshu

New Member
Sep 15, 2021
7
1
1
29
Hello,

after restoring the container with pbs, the permission settings of the / etc / hosts and resolv.conf files are changed. After changing to chmod 644 and restarting the container the permissions are changed back to 640

1642423569518.png
1642423585200.png

1642423629035.png

are these permissions changed by the settings of the container itself?
 
hi,

are these permissions changed by the settings of the container itself?
the files are regenerated at container boot, nameserver and hostname effect those files.
 
it is possible to set the file permissions so that it does not change from 644 to 640 every reboot?
 
thank you very much for the quick help and solving the problem, you guys are great! :)
 
thanks!! you can mark the thread [SOLVED] for others :)
 

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!