NFS and no_root_squash - cannot write as root - permission denied (SOLVED)
Bob <grantura@spamcop.net> writes:
> Jari Aalto wrote:
>
>> Can anyone suggest what might be wrong as root user cannot write to the
>> NFS mounted directory.
>>
>> At client, the mount succeeds, but write doesn't. The 'no_root_squash'
>> is enabled at server, the UUID's match, so where is the problem[1]?.
>>
>> Jari
>>
>> AT CLIENT (192.168.1.12 / Debian unstable)
>>
>> $ dpkg -l nfs-common
>> ii *nfs-common * * * * * *1:1.1.3-1
>
> Bug #492970 [1]
Never would have guessed.
> Downgrade nfs-common to 1:1.1.2-6
According to the bug report, there is workaround. At client the error in
mount is "sec=null":
Mounting all NFS shares with explicit "sec=sys" allows root to write to
the share (it's still a bug in the NFS).
Thank you,
Jari
[1]
"nfs-common 1:1.1.3-1 client disallows access to files/directories where it should allow access"
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492970
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org