Hello.
I learned a little bit too late that fat32 didn't allowed permissions ... and trying to change them on an external storage disk I've made the following mistakes:
from root (and I was on /), Ive changed the owner of all the files on my PC :
(as root, from /) chown -R root *
and all the permissions to 777 :
(as root, from /) chmod -R 777 *
I changed the permissions in order to be able to start a session (to solve problems such as :"unable to open bash", etc)....
I can open a session, but nothing works, because of the owner, and permissions are incorrect...
Is there any possibility to restore the permissions to default, and the owner to default ?
What can I do to solve that [big] problem (I know it is a very stupid mistake...)?
Thank you very much for your answers.
PS: sorry for my bad english...
I learned a little bit too late that fat32 didn't allowed permissions ... and trying to change them on an external storage disk I've made the following mistakes:
from root (and I was on /), Ive changed the owner of all the files on my PC :
(as root, from /) chown -R root *
and all the permissions to 777 :
(as root, from /) chmod -R 777 *
I changed the permissions in order to be able to start a session (to solve problems such as :"unable to open bash", etc)....
I can open a session, but nothing works, because of the owner, and permissions are incorrect...
Is there any possibility to restore the permissions to default, and the owner to default ?
What can I do to solve that [big] problem (I know it is a very stupid mistake...)?
Thank you very much for your answers.
PS: sorry for my bad english...
Comment