bindfs

mirrors or overlays a local directory with altered permissions

Install

All systems
curl cmd.cat/bindfs.sh
Debian Debian
apt-get install bindfs
Ubuntu
apt-get install bindfs
image/svg+xml Kali Linux
apt-get install bindfs
Fedora
dnf install bindfs
Windows (WSL2)
sudo apt-get update sudo apt-get install bindfs
OS X
brew install bindfs
Raspbian
apt-get install bindfs

bindfs

mirrors or overlays a local directory with altered permissions

bindfs is a FUSE filesystem for mirroring a directory to another directory, similarly to mount --bind. The permissions of the mirrored directory can be altered in various ways. Some things bindfs can be used for: - Making a directory read-only. - Making all executables non-executable. - Sharing a directory with a list of users (or groups). - Modifying permission bits using rules with chmod-like syntax. - Changing the permissions with which files are created. Non-root users can use almost all features, but most interesting use-cases need user_allow_other to be defined in /etc/fuse.conf.