Change the default umask for nfs?

I’m using nfs on DSM 7.2.2-72806. I set the “Apply default UNIX permissions” when enabling nfs, and the docs mention the default umask value of 022.

For how I’m using nfs, it would be very helpful if I could change the default umask to 002.

How do I do this?

Is you question how to use the chmod command?

I assume chmod recursively via ssh would result in the same behavior as using the “File Station UI” to set permissions on a folder (checking the “Apply to this folder, sub-folders and files”).

The problem is that when I do this, the next time I create a folder or file via the nfs share, the folder/file is still created with the “Default Linux Permissions” (i.e., admin:users 755/rwxr-xr-x & 644/rw-r–r–).