LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   restore original chown permissions on VPS Centos (https://www.linuxquestions.org/questions/linux-newbie-8/restore-original-chown-permissions-on-vps-centos-817101/)

chetanmadaan 06-29-2010 11:11 PM

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??

Thanks.

r3sistance 06-30-2010 01:34 AM

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.

chetanmadaan 06-30-2010 08:16 AM

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???

Thanks.

unSpawn 06-30-2010 08:37 AM

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 http://www.linuxquestions.org/questi...ommand-817098/. Note you received replies there, so don't go mess things up by replying here too.


All times are GMT -5. The time now is 07:28 AM.