rejetto / hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.
GNU General Public License v3.0
2.29k stars 227 forks source link

cant turn off inheriting for index.html option #493

Closed W-i-n-7 closed 9 months ago

W-i-n-7 commented 9 months ago

unnamed

rejetto commented 9 months ago

i'm not sure this is a common need worth a dedicated control, so i guess we should leave this to "masks".

Since the setting for that option is "default", as one can find in the documentation, if you want turn off inheritance you can

"*":
  default: ""

if you want to stop just 1 folder, it's "folder1" instead of "*", or "subfolder/folder1" it it is not directly child of the folder.

But if you really have this specific folder1, one can also avoid "masks" and add folder1 to the main folder, and set the option the usual (graphical) way.