LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permission Denied (https://www.linuxquestions.org/questions/linux-newbie-8/permission-denied-762376/)

bazutti 10-16-2009 08:33 AM

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?

rizhun 10-16-2009 08:46 AM

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 ;)

indianromeo1975 10-16-2009 03:19 PM

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


All times are GMT -5. The time now is 05:52 PM.