Score:0

Many files were changed to root as owner by GCP. Can't delete them!

li flag

Many files had their ownership changed to root in GCP and now I can't remove them. How do I change it back? GCP help is hard to come by. Thanks, -Marcos

vn flag
If someone accidentially did a `chown root:root /*`, you're probably better off recreating the server.
Marcos Camargo avatar
li flag
I didn't do it. Somehow the file permissions and dates even changed.
Hack Saw avatar
tz flag
Are they system files, or your files?
Marcos Camargo avatar
li flag
They are files in /usr/lib/cgi-bin and also my own files.
cn flag
Can you open a root shell or do you have sudoer rights on the machine? If so, then you can just delete them. There has to be something in the config or on the machine that has changed the owner. It doesn't just happen.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.