Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a fresh install of ubuntu server 12.10. I have created a group called www-dev and a user called dab. the user is in the group and i can verify that by members www-dev which returns dab.

I created a folder called /etc/test and that folder has permissions: drwxrwsr-x root www-dev

if i type who i get dab

if i go into the folder and type echo 'test' > test i get access denied!

I'm sure it's something simple, but i can't figure out why?

thanks in advance!

share|improve this question
2  
Okay, but do you get www-data when you run groups as dab? –  Ignacio Vazquez-Abrams Feb 16 '13 at 4:41

1 Answer 1

up vote 2 down vote accepted

Try logging in again.

Adding or removing groups from a member does not effect existing sessions

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.