Advertisement
xe1phix

Xe1phix-[BindFS]-Cheatsheet-[v5.8.45].sh

Oct 6th, 2022
1,030
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.54 KB | None | 0 0
  1.  
  2.  
  3. ## ---------------------------- ##
  4. ##    [+]  Chmod Policy:        ##
  5. ## ---------------------------- ## --------------------------------------------------- ##
  6. bindfs --chmod-normal           ##  Try to chmod the original files (the default).
  7. bindfs --chmod-ignore           ##  Have all chmods fail silently.
  8. bindfs --chmod-deny             ##  Have all chmods fail with 'permission denied'.
  9. bindfs --chmod-filter=          ##  Change permissions of chmod requests.
  10. bindfs --chmod-allow-x          ##  Allow changing file execute bits in any case.
  11.                                 ## --------------------------------------------------- ##
  12.  
  13.  
  14. ##-====================================-##
  15. ##    [+]  XAttributes Policy:          ##
  16. ##-====================================-## ----------------------------------------------------------- ##
  17. bindfs --xattr-ro                       ##   Let extended attributes be read-only
  18. bindfs --xattr-rw                       ##   Let  extended  attributes  be  read-writ
  19.                                         ## ----------------------------------------------------------- ##
  20.  
  21. ##-====================================-##
  22. ##    [+]  Other File Operations:       ##
  23. ##-====================================-## -------------------------------------------------------------------- ##
  24. bindfs --delete-deny                    ##   Disallow deleting files.
  25. bindfs --rename-deny                    ##   Disallow renaming files (within the mount).
  26.                                         ## -------------------------------------------------------------------- ##
  27.  
  28. ##-================================-##
  29. ##    [+]  File Creation Policy:    ##
  30. ##-================================-## --------------------------------------------------------------------------- ##
  31. bindfs --create-as-user             ##   New files owned by creator (default for root). *
  32. bindfs --create-as-mounter          ##   New files owned by fs mounter (default for users).
  33. bindfs --create-for-user=           ##   New files owned by specified user. *
  34. bindfs --create-for-group=          ##   New files owned by specified group. *
  35. bindfs --create-with-perms=         ##   Alter permissions of new files.
  36.                                     ## --------------------------------------------------------------------------- ##
  37.  
  38. ##-==============================-##
  39. ##    [+]  Chown Policy:          ##  
  40. ##-==============================-## ----------------------------------------------------------------------- ##
  41. bindfs --chown-normal             ##   Try to chown the original files (the default).
  42. bindfs --chown-ignore             ##   Have all chowns fail silently.
  43. bindfs --chown-deny               ##   Have all chowns fail with 'permission denied'.
  44.                                   ## ----------------------------------------------------------------------- ##
  45.  
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement