Fix Broken File Permissions On Ubuntu Server [duplicate]


up vote
1
down vote
favorite
This question already has an answer here:
Set myself as owner of /etc with chown command now getting all kinds of errors [duplicate]
2 answers
chown recursively changed permissions
1 answer
What if I accidentally run command âchmod -Râ on system directories (/, /etc, â¦)
7 answers
I have a VPS running Ubuntu 16.04
I changed the owner of the root directory (/
) recursively to root.
- I was young and stupid (this happened about an hour ago but never mind).
- Various things don't work correctly now including a website in the
/var/www/html
folder. - I searched far and wide for a solution but only found either OS-specific instructions which didn't work for me or the instruction to reinstall which, as you might guess, is not what I want to do.
- I'm looking for a way to restore all file and folder permissions to what they were before without individually finding and changing them.
- If someone provides a link with instructions which might not be understood by a noob who goes around changing permissions recursively in the root of a linux server then please explain or simplify what the link says.
Thank you all in advance and I hope this issue gets solved as soon as possible.
-user9123
server permissions
marked as duplicate by Byte Commander, Zanna, Eric Carvalho, karel, Fabby Mar 17 at 20:11
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
1
down vote
favorite
This question already has an answer here:
Set myself as owner of /etc with chown command now getting all kinds of errors [duplicate]
2 answers
chown recursively changed permissions
1 answer
What if I accidentally run command âchmod -Râ on system directories (/, /etc, â¦)
7 answers
I have a VPS running Ubuntu 16.04
I changed the owner of the root directory (/
) recursively to root.
- I was young and stupid (this happened about an hour ago but never mind).
- Various things don't work correctly now including a website in the
/var/www/html
folder. - I searched far and wide for a solution but only found either OS-specific instructions which didn't work for me or the instruction to reinstall which, as you might guess, is not what I want to do.
- I'm looking for a way to restore all file and folder permissions to what they were before without individually finding and changing them.
- If someone provides a link with instructions which might not be understood by a noob who goes around changing permissions recursively in the root of a linux server then please explain or simplify what the link says.
Thank you all in advance and I hope this issue gets solved as soon as possible.
-user9123
server permissions
marked as duplicate by Byte Commander, Zanna, Eric Carvalho, karel, Fabby Mar 17 at 20:11
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
This question already has an answer here:
Set myself as owner of /etc with chown command now getting all kinds of errors [duplicate]
2 answers
chown recursively changed permissions
1 answer
What if I accidentally run command âchmod -Râ on system directories (/, /etc, â¦)
7 answers
I have a VPS running Ubuntu 16.04
I changed the owner of the root directory (/
) recursively to root.
- I was young and stupid (this happened about an hour ago but never mind).
- Various things don't work correctly now including a website in the
/var/www/html
folder. - I searched far and wide for a solution but only found either OS-specific instructions which didn't work for me or the instruction to reinstall which, as you might guess, is not what I want to do.
- I'm looking for a way to restore all file and folder permissions to what they were before without individually finding and changing them.
- If someone provides a link with instructions which might not be understood by a noob who goes around changing permissions recursively in the root of a linux server then please explain or simplify what the link says.
Thank you all in advance and I hope this issue gets solved as soon as possible.
-user9123
server permissions
This question already has an answer here:
Set myself as owner of /etc with chown command now getting all kinds of errors [duplicate]
2 answers
chown recursively changed permissions
1 answer
What if I accidentally run command âchmod -Râ on system directories (/, /etc, â¦)
7 answers
I have a VPS running Ubuntu 16.04
I changed the owner of the root directory (/
) recursively to root.
- I was young and stupid (this happened about an hour ago but never mind).
- Various things don't work correctly now including a website in the
/var/www/html
folder. - I searched far and wide for a solution but only found either OS-specific instructions which didn't work for me or the instruction to reinstall which, as you might guess, is not what I want to do.
- I'm looking for a way to restore all file and folder permissions to what they were before without individually finding and changing them.
- If someone provides a link with instructions which might not be understood by a noob who goes around changing permissions recursively in the root of a linux server then please explain or simplify what the link says.
Thank you all in advance and I hope this issue gets solved as soon as possible.
-user9123
This question already has an answer here:
Set myself as owner of /etc with chown command now getting all kinds of errors [duplicate]
2 answers
chown recursively changed permissions
1 answer
What if I accidentally run command âchmod -Râ on system directories (/, /etc, â¦)
7 answers
server permissions
server permissions
asked Mar 14 at 21:26


user9123
183
183
marked as duplicate by Byte Commander, Zanna, Eric Carvalho, karel, Fabby Mar 17 at 20:11
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Byte Commander, Zanna, Eric Carvalho, karel, Fabby Mar 17 at 20:11
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes