The logged in user is a member of a group that has a write permission on a folder. But when this user is trying to write something, "permission is denied".
The log below summarizes the question:
subv:/www/tracer/ whoami
frank
subv:/www/tracer/
subv:/www/tracer/ ls -ltr
total 4
drwxrwxr-x 2 root tracer 4096 Jan 20 12:25 convert.tracer.com
subv:/www/tracer/ groups frank
frank : frank tracer
subv:/www/tracer/ > convert.tracer.com/test
-bash: convert.tracer.com/test: Permission denied
subv:/www/tracer/
Output of "ls -bail /www/tracer/convert.tracer.com/":
subv:~/ ls -bail /www/tracer/convert.tracer.com/
total 8
38010883 drwxrwxr-x 2 root tracer 4096 Jan 20 12:25 .
38010882 drwxr-xr-x 3 root root 4096 Jan 20 12:25 ..
subv:~/
test
file already exist? what are its permissions if so? – Nikhil Mulley Jan 20 '12 at 12:28+w
permissions on that dir. To write to an existing file in that dir, you only need+w
permissions on that file. In both cases you will need the+x
permission on the directory. – Jan 20 '12 at 15:08