bindfs works in a similar way. It allows you to remount (bind) a file/directory with different permissions, e.g.:
user1 & user2 will see themselves as the owner of the dir and they will have read/write/execute access for all the directories and subdirectories and read/write access for all the files from dir.Code:sudo bindfs -o perms=0700,mirror=user1:user2 path/to/dir path/to/dir
Bookmarks