So I have a file:
-rw-rw-rw- 1 joe web 35046982 Nov 4 16:54 app.log
I am in web group:
[sam@proj log]$ id uid=5067(sam) gid=5071(sam) groups=505(web),5071(sam)
But I can't change the permissions:
[sam@proj log]$ chmod 777 app.log chmod: changing permissions of `app.log': Operation not permitted
This is for a deployment script. Many users can run it with their own user and they all need to be able to do stuff like adding write permissions to log file. I thought assigning the file to a group and then adding all users to that group would work.
What am I doing wrong?