I learned the hard way that the “x” permission on directories doesn’t mean “execute” but “traverse”. And setting permissions on directories get’s them inherited by newly created/added files in there, right?

So how can i remove the ability from my homedir to execute current and new files but keep the traverse permission?

  • oshu@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    18 days ago

    Not sure what your goal is but to make it so nothing can be exexuted in there you can put /home on its own filesystem and mount it with the “noexec” option.