I'm facing the following issue on
pve-manager/8.0.4/d258a813cfa6b390 (running kernel: 6.2.16-8-pve)
that i can't edit files in /etc/pve due of permisson errors. root has only read-only rights on this config files.
But i has to edit those files as root, due of issues with the otp auth.
Has anyone facing the same issues?
I cant change the rights for root from r to rw for editing this files
pve-manager/8.0.4/d258a813cfa6b390 (running kernel: 6.2.16-8-pve)
that i can't edit files in /etc/pve due of permisson errors. root has only read-only rights on this config files.
But i has to edit those files as root, due of issues with the otp auth.
Code:
root@pve-cluster-01:/etc/pve# ls -la
total 14
drwxr-xr-x 2 root www-data 0 Jan 1 1970 .
drwxr-xr-x 92 root root 187 Aug 22 18:20 ..
-r--r----- 1 root www-data 541 Jan 1 1970 .clusterlog
-rw-r----- 1 root www-data 2 Jan 1 1970 .debug
-r--r----- 1 root www-data 257 Jan 1 1970 .members
-r--r----- 1 root www-data 357 Jan 1 1970 .rrd
-r--r----- 1 root www-data 1049 Jan 1 1970 .version
-r--r----- 1 root www-data 18 Jan 1 1970 .vmlist
-r--r----- 1 root www-data 451 Aug 22 20:13 authkey.pub
-r--r----- 1 root www-data 451 Aug 22 20:13 authkey.pub.old
-r--r----- 1 root www-data 503 Aug 22 18:23 ceph.conf
-r--r----- 1 root www-data 471 Aug 22 18:27 corosync.conf
-r--r----- 1 root www-data 87 Aug 22 18:37 datacenter.cfg
-r--r----- 1 root www-data 131 Aug 23 00:11 domains.cfg
dr-xr-xr-x 2 root www-data 0 Aug 15 20:12 firewall
dr-xr-xr-x 2 root www-data 0 Aug 15 20:12 ha
lr-xr-xr-x 1 root www-data 0 Jan 1 1970 local -> nodes/pve-cluster-01
lr-xr-xr-x 1 root www-data 0 Jan 1 1970 lxc -> nodes/pve-cluster-01/lxc
dr-xr-xr-x 2 root www-data 0 Aug 15 20:12 mapping
dr-xr-xr-x 2 root www-data 0 Aug 15 20:12 nodes
lr-xr-xr-x 1 root www-data 0 Jan 1 1970 openvz -> nodes/pve-cluster-01/openvz
dr-x------ 2 root www-data 0 Aug 15 20:12 priv
-r--r----- 1 root www-data 2074 Aug 15 20:12 pve-root-ca.pem
-r--r----- 1 root www-data 1704 Aug 15 20:12 pve-www.key
lr-xr-xr-x 1 root www-data 0 Jan 1 1970 qemu-server -> nodes/pve-cluster-01/qemu-server
dr-xr-xr-x 2 root www-data 0 Aug 15 20:12 sdn
-r--r----- 1 root www-data 355 Aug 23 00:08 storage.cfg
-r--r----- 1 root www-data 268 Aug 22 19:04 user.cfg
dr-xr-xr-x 2 root www-data 0 Aug 15 20:12 virtual-guest
-r--r----- 1 root www-data 119 Aug 15 20:12 vzdump.cron
Has anyone facing the same issues?
I cant change the rights for root from r to rw for editing this files
Code:
root@pve-cluster-01:/etc/pve# find . -name "*.cfg"
./domains.cfg
./storage.cfg
./user.cfg
./priv/acme/plugins.cfg
./priv/tfa.cfg
./priv/shadow.cfg
./datacenter.cfg
Last edited: