Timeline for Ubuntu, accidentally removed all file rights from users
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 18, 2016 at 14:37 | comment | added | virtex |
It just occurred to me that I didn't have you set the permissions on the root directory itself. Normally / has 755 permissions, so that would be chmod 755 / . Normally that wouldn't be affected by /*/ pattern, but it might if you have bash's dotglob setting enabled (shopt -s dotglob).
|
|
Nov 18, 2016 at 14:33 | comment | added | virtex |
Is it possible you changed permissions at more than just the root directory? Try running (as root) getfacl -R / >/var/tmp/perms on your friend's computer, copy /var/tmp/perms file to your machine, then cd /; setfacl --restore=/var/tmp/perms on your machine. This will copy the permission bits from all the files on his computer to yours. This won't be perfect, but it might get you further along.
|
|
Nov 18, 2016 at 11:21 | comment | added | MikeS159 | I managed to change all the folders to the permissions you said (they are the same my friend also has with a similar setup so they look right). Certain things don't appear to work properly, such has tabbing to auto complete, and most importantly, no new SSH connections can be established. I assume this is because some of the permissions or groups are wrong. | |
Nov 17, 2016 at 22:03 | history | answered | virtex | CC BY-SA 3.0 |