How do you share a directory
between two users "eris" and "discordia" such that both can access the directory in their respective home directory, e.g.
and both have full recursive read and write permission on the respective directory? The directories should lie on the same filesystem.
- I tried using bind mounts and ACLs but these do not work well when moving (and copying?) files into the shared directory, in which case the default ACL will not be applied and the files will keep their original permissions instead,
- The same holds for using the setguid flag,
- bindfs with the "mirror" option does what I am looking for, but at the cost of dramatically poor performance, as shown by Guy Paddock.
- setting the global umask to 002 is not an option,
- neither is using vfat.