LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-29-2010, 11:03 PM   #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-29-2010, 11:10 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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-29-2010, 11:14 PM   #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-29-2010, 11:19 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 PM.

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
Open Source Consulting | Domain Registration