LinuxQuestions.org
Review your favorite Linux distribution.
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 10-16-2009, 09:33 AM   #1
bazutti
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Permission Denied


I'm hoping my brain just isn't functioning because it's Friday.

I created a user called gdev. As root, I made a dir /var/www/html/test

chown -R apache:apache test/
chmod -R 774 test/
usermod -G apache gdev

I have done these same steps on numerous machines. However, in this instance, gdev cannot cd into test/

Can someone please point out where I dipped my brain in newbsauce?
 
Old 10-16-2009, 09:46 AM   #2
rizhun
Member
 
Registered: Jun 2005
Location: England
Distribution: Ubuntu, SLES, AIX
Posts: 268

Rep: Reputation: 47
Commands look good to me.

Is this machine, by any chance, newer/running newer OS than the previous machines you've done this on?

In my experience anything with 'test' in the name can cause unexpected results. I've never tried it, but I wouldn't be surprised if things with 'dev' in the name do the same.

Try doing the same, but creating the user with the name 'boris' and call the directory 'cholo'... See if you get better results
 
Old 10-16-2009, 04:19 PM   #3
indianromeo1975
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
Smile

Have u checked umask for your system? If not please do and then try again. Strange thing but maybe this should solve the issue!!
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 06:57 AM
Permission Denied ptreves Linux - Newbie 7 12-16-2004 03:14 PM
Permission Denied NathanCohen2003 Mandriva 5 08-27-2003 06:39 PM
Permission Denied Viper Slackware 7 08-07-2002 09:22 PM


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