I'm trying to share a directory between 2 users, so that both have full access to it and to any files, and directories created within. Here are the things I've done so far:
- Create a group for the 2 users (let's call it
- Set directory group to
- Set the directory mode to 2770 (rwxrwx--- with sticky)
- Add ACL entry
group allow add_file,delete,file_inherit,directory_inherit
So I was expecting that everything works. However, some applications don't seem to recognize the ACL entry I've set. I've never really done anything with the umask yet, so directories are created in mode 0755 (not sure about files), with the ACL inherited, but when one user tries to create a new file inside a directory created by the other user, the system complains about file permissions. I've tested this with emacs. However, when I create a file using echo or just touch, there are no issues, and files are created. How do I solve this? Is there a way to set directory specific umask?