
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,237 Views
PERMISSION
IF WE GIVE chmod 000 / after restart server
how we turn on server


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,229 Views
chmod 000 will make the file/s readable only by root.
You need to provide more details.
if you did something like chmod -R 000 / then you probably need to boot with an installation media and change the permissions to its original state (for the files managed by RPM it will be easy for others impossible unless you know).


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,207 Views
Where you root when you ran the command? What do you see on the screen when you reboot the server?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,155 Views


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,093 Views
Hey, I'm not sure I understand the issue.
So, you run a "chmod 000 /" by mistake, and the server no longer boots, is that correct? What do you see on the screen?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,179 Views
Root having high power if you provide 000 permission as well then also root can access it root don't need permssion to do this


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 4,086 Views
If you haven't fixed this yet, you could try this:
for p in $(rpm -qa); do rpm --setperms $p; done
It would go through all installed rpm packages and set permissions back to what the rpm originally provided. Good Luck!