Solved

Linux ownerships

Posted on 2014-01-15
4
237 Views
Last Modified: 2014-01-15
I have mistakenly changed the ownership and group on an entire RHEL6 system rather than the subdirectory I wanted. I have since changed everything back to root:root.

Is this ok or am I still screwed?
0
Comment
Question by:cotton0226
4 Comments
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39782664
Is this ok or am I still screwed?

I hope you have a backup or can re-install the machine because well... You said it.

You might get somewhere by following this guide though, worth a shot:

http://www.adminlinux.org/2009/07/how-to-restore-default-system.html
0
 
LVL 31

Expert Comment

by:farzanj
ID: 39782685
You better have a backup because you now have all kinds of issues including security apart from other issues.
0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 39782736
you could use rpm to reverify the installed packages in hopes that it resets the ownership.

If you have an identical system, you could use getfacl to get the correct settings from a reference system and then use setfacl to correct the settings on this system.

Depending on what this system does, certain things may have broken i.e. no longer functioning because of the permissions issues.

Backup as others pointed out is the quickestw but make sure to copy anything you've added after as well as if this system is receiving external data (mail server) get that data off or you will loose it.
0
 

Author Closing Comment

by:cotton0226
ID: 39782768
Thanks all. We are reloading from backup.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question