I have a directory: drwxrwxr-x 5 root movies 5 Mar 11 12:17 directory
I created a group called movies and added a users to it, but the user can't write to it unless I change the owner to be user and not root.
So I can't figure out how to give a directory write permissions by using groups.
Edit:
Well, figured it out. For my regular user I had to log out and log back in to the shell.
For the nologin user I had to restart the service.
I did run this before I logged back in: chmod 2775 directory # '2' sets the default group id on new files
I created a group called movies and added a users to it, but the user can't write to it unless I change the owner to be user and not root.
So I can't figure out how to give a directory write permissions by using groups.
Edit:
Well, figured it out. For my regular user I had to log out and log back in to the shell.
For the nologin user I had to restart the service.
I did run this before I logged back in: chmod 2775 directory # '2' sets the default group id on new files