Unable to change the configuration of container

falves1

Well-Known Member
Jan 11, 2009
99
3
48
ls /etc/pve/nodes/proxmox/lxc/
100.conf 101.conf 105.conf
root@proxmox:~# mkdir /etc/pve/nodes/proxmox/lxc/demo
mkdir: cannot create directory '/etc/pve/nodes/proxmox/lxc/demo': Permission denied
root@proxmox:~# chmod 0\7277 /etc/pve/nodes/proxmox/lxc/
chmod: changing permissions of '/etc/pve/nodes/proxmox/lxc/': Operation not permitted
root@proxmox:~# chmod 0777 /etc/pve/nodes/proxmox/lxc
chmod: changing permissions of '/etc/pve/nodes/proxmox/lxc': Operation not permitted
df -H
Filesystem Size Used Avail Use% Mounted on
udev 677G 0 677G 0% /dev
tmpfs 136G 196M 136G 1% /run
/dev/mapper/pve-root 104G 58G 46G 56% /
tmpfs 677G 66M 677G 1% /dev/shm
tmpfs 5.3M 0 5.3M 0% /run/lock
tmpfs 677G 0 677G 0% /sys/fs/cgroup
/dev/sdc1 2.4T 687G 1.8T 29% /nfs1
/dev/sda2 265M 301k 264M 1% /boot/efi
/dev/sdd4 2.3T 547G 1.7T 25% /nfs2
/dev/sdb1 4.8T 3.7T 1.2T 76% /large
/dev/sdf1 12T 7.7T 4.4T 64% /nfs
tmpfs 136G 0 136G 0% /run/user/0
/dev/fuse 32M 37k 32M 1% /etc/pve
 
what are you trying to achieve ?

the config files are just plain files, you can edit them with the editor of your choice

there is no folder structure allowed there and also the permissions are not customizable, why do you want to do this?
 

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!