1

I have a NFS share on a Debian (trixie) box on my local network. I can connect to the share and use it from my Windows 11 machine, but all the files that are created from the windows machine have the +x bit applied, making every file executable on the debian box. If i set the fileaccess on the windows client to 666, then directories are not traversable, as they don't have the +x bit applied. Is there something akin to a diraccess setting in the windows client to set permissions for directories created separately?

2
  • Is each file being executable for Linux your exact concern? Do you want all regular files to be effectively non-executable? If so, consider placing the whole share under its own mountpoint and mount with noexec. A determined Linux user may be able to execute chosen files regardless, but this is true also for files with -x. Commented Dec 11, 2025 at 17:42
  • They are all just document files, so nothing to truly execute. And yes, my main concern is that they are marked executable under linux. It's more of an annoyance really, and thought there would be a way to correct this behavior. Commented Dec 11, 2025 at 18:10

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.