Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-16-2009, 08:33 AM   #1
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, 08:46 AM   #2
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, 03:19 PM   #3
LQ Newbie
Registered: May 2007
Posts: 5

Rep: Reputation: 0

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


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 04:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Permission Denied ptreves Linux - Newbie 7 12-16-2004 02:14 PM
Permission Denied NathanCohen2003 Mandriva 5 08-27-2003 05:39 PM
Permission Denied Viper Slackware 7 08-07-2002 08:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 PM.

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