LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-07-2010, 03:06 PM   #1
oznola
Member
 
Registered: Mar 2010
Location: las vegas, nv
Distribution: debian etch, kubuntu, mac osx 10.51, vista
Posts: 65

Rep: Reputation: 15
Thumbs up mysql permission denied. but i am root...


hi,

i am trying to setup a new database on my debian etch server using the following command line...

Quote:
/usr/share/doc/wordpress/examples/setup-mysql -n example example.com
but when i run it i get the following error even though i am root...

Quote:
bubba:/var/www# /usr/share/doc/wordpress/examples/setup-mysql -n alonzofretwell alonzofretwell.com
bash: /usr/share/doc/wordpress/examples/setup-mysql: Permission denied
bubba:/var/www#


please advise.
 
Old 04-07-2010, 04:58 PM   #2
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
Quote:
Originally Posted by oznola View Post
hi,

i am trying to setup a new database on my debian etch server using the following command line...



but when i run it i get the following error even though i am root...



please advise.
What does the following output:
Code:
ls -l /usr/share/doc/wordpress/examples/setup-mysql
My guess is that there are no execute permissions on the file and you will need to make it executable.
 
1 members found this post helpful.
Old 04-07-2010, 05:22 PM   #3
oznola
Member
 
Registered: Mar 2010
Location: las vegas, nv
Distribution: debian etch, kubuntu, mac osx 10.51, vista
Posts: 65

Original Poster
Rep: Reputation: 15
hi,

here is that output...

Quote:
bubba:/home/af# ls -l /usr/share/doc/wordpress/examples/setup-mysql
-rw-r--r-- 1 root root 3401 2008-07-03 11:46 /usr/share/doc/wordpress/examples/setup-mysql
bubba:/home/af#
it appears you are correct. what should the permissions be please?

(i am going to try chmod 700)

thank you.

Last edited by oznola; 04-07-2010 at 05:43 PM.
 
  


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
Permission denied as root bowbalitic Linux - Server 5 08-21-2009 03:55 PM
permission denied: mysql trscookie Linux - Software 5 09-29-2006 03:17 PM
su root permission denied stardotstar Linux - Software 6 08-20-2006 08:24 PM
permission denied when root? TaNeK Linux - Software 8 02-01-2005 12:39 PM
Even as root, Permission Denied RevX Linux - Software 7 04-24-2004 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:10 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
Open Source Consulting | Domain Registration