bindfs
Mount a directory elsewhere with different permissions. More information: https://bindfs.org/docs/bindfs.1.html.
- Mount a directory with same permissions:
sudo bindfs
- Map filesystem objects owned by
user1to be owned byuser2(also applies in reverse to newly created files):
sudo bindfs --map=/
- Unmount a directory:
sudo umount
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
