Example:
Code: Select all
$ for UMASK in 0000 0002 0022 0222; do umask $UMASK; touch on_{local,centos,qnap}/test_$UMASK; done; umask 0022
$ l on_*/test*
-rw-rw-rw- 1 andrej andrej 0 Nov 12 20:24 on_centos/test_0000
-rw-rw-r-- 1 andrej andrej 0 Nov 12 20:24 on_centos/test_0002
-rw-r--r-- 1 andrej andrej 0 Nov 12 20:24 on_centos/test_0022
-r--r--r-- 1 andrej andrej 0 Nov 12 20:24 on_centos/test_0222
-rw-rw-rw- 1 andrej andrej 0 Nov 12 20:24 on_local/test_0000
-rw-rw-r-- 1 andrej andrej 0 Nov 12 20:24 on_local/test_0002
-rw-r--r-- 1 andrej andrej 0 Nov 12 20:24 on_local/test_0022
-r--r--r-- 1 andrej andrej 0 Nov 12 20:24 on_local/test_0222
-rw-rw----+ 1 andrej andrej 0 Nov 12 20:24 on_qnap/test_0000
-rw-rw----+ 1 andrej andrej 0 Nov 12 20:24 on_qnap/test_0002
-rw-rw----+ 1 andrej andrej 0 Nov 12 20:24 on_qnap/test_0022
-rw-rw----+ 1 andrej andrej 0 Nov 12 20:24 on_qnap/test_0222
$ df -h on_local/; df -h on_centos/; df -h on_qnap/
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/argonath-home 168G 44G 116G 28% /home
Filesystem Size Used Avail Use% Mounted on
sorontil:/home 640G 4.5G 635G 1% /net/sorontil/home
Filesystem Size Used Avail Use% Mounted on
anduin:/Public 1.6T 98G 1.5T 7% /net/anduin/Public
I've tried numerous Linux distributions as NFS clients (including Fedora, CentOS, Debian and Enigma), all with the same result.
I contacted QNAP support about this a year and a half ago, and got the response that this is not supported.
(This is on a QNAP TS-431P2, current firmware is QTS 4.4.1 but this was the same on 4.3.x.)
Any ideas on how this breakage can be fixed or circumvented? I use my QNAP for NFS shares only, so breaking support for most other features is acceptable.