issued wrong chmod 660 /etc/ command

magnum

Active Member
Aug 31, 2021
43
0
26
36
Hello,

i accidently issued

chmod 660 --recursive /etc/

and jammed the system up... i wanted to do it only on /etc/wpa/..

Only way of access is via physical terminal/console.. ssh wont let me in anymore.

How do i restore the permissions ?
 
Last edited:
well "restoring" would only be possible if you have a recent backup of that system ;) you can of course use another PVE system as template, but likely there will be some files missing in that case..

e.g., you can use chmod --reference=/backup/path /path
 
Hmm f***,
ofc i do not have backups of that... only of vms.. damn.. whats the smartest way to reinstall and to get the vms back running?
 
well you can still install a fresh PVE system on some other host/in a VM/.., and then reset the permission of the files you get from there, and then manually fix up the rest.
 
Yepp done that.. Thank you so far. Is there any tool to get all file permissions backed up?
Can you or anyone tell me a good way to backup proxmox host?