We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4331653 commit ea1bbecCopy full SHA for ea1bbec
pages/linux/bindfs.md
@@ -0,0 +1,16 @@
1
+# bindfs
2
+
3
+> Mount a directory elsewhere with different permissions.
4
+> More information: <https://bindfs.org/docs/bindfs.1.html>.
5
6
+- Mount a directory with same permissions:
7
8
+`sudo bindfs {{path/to/directory}} {{path/to/mount_point}}`
9
10
+- Map filesystem objects owned by `user1` to be owned by `user2` (also applies in reverse to newly created files):
11
12
+`sudo bindfs --map={{user1}}/{{user2}} {{path/to/directory}} {{path/to/mount_point}}`
13
14
+- Unmount a directory:
15
16
+`sudo umount {{path/to/mount_point}}`
0 commit comments