View previous topic :: View next topic |
Author |
Message |
lohapuk n00b
Joined: 15 Jan 2005 Posts: 14
|
Posted: Sat Apr 23, 2005 9:12 pm Post subject: Reset root fs permissions |
|
|
i types chow steve:users /* instead of ./* i was wondering if there was a way to reset them to default with out having to go through every file and resetting them. I caught it have way through but the damage was done. |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sun Apr 24, 2005 6:11 am Post subject: |
|
|
First off, did you chown steve:users /* or chown -R steve:users /*, as in the first case you would only change permission on just the folders listed in "/" and NOT their contents, whereas in the second you would have changed permissions on all folders in "/" AND their contents. The first case is easy to recover from, the second will likely result in you doing a clean install.
For the first case,
possibly leaving out any custom folders you might have added yourself to "/" and not set root as the owner. _________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
lohapuk n00b
Joined: 15 Jan 2005 Posts: 14
|
Posted: Sun Apr 24, 2005 12:57 pm Post subject: |
|
|
I did use -r so i have just backed up all the data and am currently reinstalling the dev box at work hoping i can haev it fixed for monday |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Sun Apr 24, 2005 2:44 pm Post subject: |
|
|
Ouch! .... you might have gotten away without having to reinstall gentoo, but I think the work and time needed to fix all the permissions would have been worse than a reinstall honestly. _________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
lohapuk n00b
Joined: 15 Jan 2005 Posts: 14
|
Posted: Mon Apr 25, 2005 9:31 am Post subject: |
|
|
I have reinstalled alot easier, i have learnt my lesson |
|
Back to top |
|
|
|