FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 08-25-2008, 07:04 AM
Jari Aalto
Default 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 ( / 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":

$ cat /proc/mounts /mnt/nfs/jondo/src nfs rw,noatime,nodiratime,vers=3,rsize=1048576,wsize=1 048576,namlen=255,hard,intr,proto=tcp,timeo=600,re trans=2,sec=null,mountproto=udp,addr= 0 0

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,

"nfs-common 1:1.1.3-1 client disallows access to files/directories where it should allow access"

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 10:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org