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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
Okay, but do you get www-data when you run groups as dab? – Ignacio Vazquez-Abrams Feb 16 '13 at 4:41
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


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.