mpartel / bindfs

Mount a directory elsewhere with changed permissions.
https://bindfs.org/
GNU General Public License v2.0
450 stars 64 forks source link

Support ACL #91

Open likan999 opened 4 years ago

likan999 commented 4 years ago

There are separate issues with ACL support here:

  1. If the ACL on the original FS grants certain permission to a user, currently the user won't have the same permission on the binded FS; e.g. a write operation will return EACCESS even if the user has write permission on the original FS (granted by ACL);
  2. If the ACL on the original FS grants certain permission to a user U1, and the bindfs maps U1 to another user U2, then we should expect the binded FS's ACL grants the permission to user U2; however, currently getfacl shows the permission under U1.
mpartel commented 3 years ago

Thanks, this seems like a reasonable feature request, but it also seems like a non-trivial effort, so unfortunately I can't promise that it'll get done in any reasonable timeframe. PRs are welcome.

Notes: