Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 06-30-2010, 12:11 AM   #1
Registered: Sep 2009
Posts: 30

Rep: Reputation: 15
restore original chown permissions on VPS Centos

well, by mistake i ran a command and chown the whole server apache:apache

now, i can't do anything... is there a way to restore the original permissions??

Old 06-30-2010, 02:34 AM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Well I am not sure if there is any reversal method... there is the manual method. Set everything to root:root and then change what needs to be changed to which other permission as you come along them... alternatively if it's a VPS do you have a back-up?

Actually it looks like you have duplicated your post and you were already given the answer.

Last edited by r3sistance; 06-30-2010 at 02:35 AM.
Old 06-30-2010, 09:16 AM   #3
Registered: Sep 2009
Posts: 30

Original Poster
Rep: Reputation: 15
ah... not really. as, i can't even login to root. i may have to shut down the server and get a new one.

any tips before i do that???

Old 06-30-2010, 09:37 AM   #4
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Post your thread once in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of Note you received replies there, so don't go mess things up by replying here too.
1 members found this post helpful.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to restore ubuntu to original point twinscomp Linux - Newbie 8 10-21-2010 07:59 AM
restore original mbr in acer tallmtt Linux - Laptop and Netbook 5 11-04-2008 01:16 AM
chown and/or chmod to restore permissions on files moved from another drive by root. Shay Linux - General 4 04-12-2007 09:47 AM
How can I restore original ownerships on / manishsingh4u Slackware 10 07-11-2006 04:22 AM
How to restore the original prompt ? kronecker General 1 01-06-2006 03:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration