I have a directory /models/ with the permissions
drw-rw-rw- 2 owner developers 4096 Jun 24 15:13 models
these were set with
sudo chmod -R 0666 *
My user has developers as the primary group (the same group as the file), but I cannot access the directory via the terminal or ftp.
[myUser@machine]$ id myUser uid=503(myUser) gid=505(developers) groups=505(developers) $ cd models -bash: cd: models: Permission denied
I had the same problem before the directory belonged to my group, and I even went so far as to restart the server, without any luck. How do I set permissions to this directory so that I and other members of the group developers can access it?