I'm following this guide: link on how to use bindfs. I have a question however. The guide only mentions broadsweep permissions for all files, however if I want seperate permissions (644 for files, and 755 for folders), how would I go by doing this with bindfs?
Asked
Active
Viewed 538 times
2 Answers
2
To make the standard permissions of 0755 for directories and 0644 for files replace the permissions part for the script in /etc/fstab from:
create-with-perms=0770
to:
create-with-perms=god=rx:ud=rwx:gof=r:uf=rw

Isaac Pak
- 121
- 5
-
@Issac Pak - Its been a few years but your answer is the only one where i could see the issue of file / directory permissions being addressed. Could you kindly elaborate on your answer better ( each flag ) and how its used in /etc/fstab in perms syntax ( perms=0770 ). If you use perms syntax, do we need create-with-perms ? – MarcoZen Jul 06 '21 at 19:22