Before this error happens:
-
I have a VM, I tried to change the permission of all folders to 777, in order to get past an error from data transfer to Cloud Run.
-
leads to “sudo: /etc/sudo.conf is world writable sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set” when I use SSH
-
I fixed it by m
ounting this infected disk to a temp Instance , changed it back with “chmod 755 /etc/sudo.conf
chmod 4755 /usr/bin/sudo”
Now,
I have 2 problems.
- I still not able to connect to SSH.
I tried trouble shooting and all ticks are green.
Nor FTP (I use Puttygen to create private key then update VM’s meta)
- the 20 GB disk became 65 GB. Is this what caused the problem? anyway to revert back to 20GB without damaging the disk
Right now, I can still access the site, it runs fine. https://www.nasavape.com