Solved

Linux ownerships

Posted on 2014-01-15
4
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

717 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