LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-30-2010, 12:03 AM   #1
chetanmadaan
Member
 
Registered: Sep 2009
Posts: 30

Rep: Reputation: 15
Wrong Chown command.


hi, i ran a command chown apache:apache / and just about everything... i wanted to do it on a directory but it did it on complete server.

i unable to login to phpmyadmin and even all the databses are empty. any tips on how can i solve this. please.
 
Old 06-30-2010, 12:10 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Which distro is this? If its RH derived, there's a reset option via RPM http://www.cyberciti.biz/tips/reset-...ermission.html
 
Old 06-30-2010, 12:14 AM   #3
chetanmadaan
Member
 
Registered: Sep 2009
Posts: 30

Original Poster
Rep: Reputation: 15
yeah, it's centos.

i can't even login to ssh now.

Last login: Tue Jun 29 21:05:47 2010 from myip

Could not chdir to home directory /home/simmy3764: Permission denied
-bash: /home/simmy3764/.bash_profile: Permission denied
-bash-3.2$
 
Old 06-30-2010, 12:19 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Try that link or google it then; it can reset perms & ownerships iirc
 
  


Reply


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
chown command tommytomato Linux - Newbie 3 03-17-2010 09:08 AM
How to use the chown command cbjhawks Linux - Newbie 2 01-12-2010 11:10 AM
Help with chown command brokenpromises Linux - Newbie 2 09-05-2007 04:24 AM
I own everything! (did 'chown -R' in the wrong place) oskar Linux - Newbie 9 03-19-2006 06:38 PM
chown command help ksgill Linux - Newbie 9 04-28-2003 11:52 PM


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

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