broot icon indicating copy to clipboard operation
broot copied to clipboard

Prevent execution of executable files

Open thenktor opened this issue 1 year ago • 0 comments

Hi,

I think it would be nice to have an option, that prevents execution of executable files.

Reasons:

  • When browsing Samba file shares on macOS/Linux usually all files have the execution bit set. This is caused by the Windows ACL (or NFSv4 ACL) with inheritance to subfolders and files. A modify_set (M or RX,W,D) on a folder contains the "x" bit: rwxp-daARWc--s (note the x). Those ACE are not only inherited by subfolders, but also by files.
  • If the files does not have an extensions it is very easy tu run thos files with a TUI file manager by accident

thenktor avatar Mar 20 '25 12:03 thenktor