Re: NFS permissions



On Wed, 21 Dec 2005 22:56:42 -0500, Ken K wrote:
> I've exhausted myself with Googling for a few days and I'm normally pretty
> good about figuring things out. However, I'm having a problem with NFSv3
> and permissions to the mounts.
>
> The dilemna: I can mount the NFS system, but only root has access to it.
>

I have NFS version 3 services running on Debian Testing which I then
mount on SuSE boxes. Lets see what my /etc/exports on Debian Testing says...

/smallass/documents 192.168.1.0/24(rw)
/smallass/mp3s 192.168.1.0/24(rw)

If I mount either of the exports, here is how it looks on SuSE 10...

mperry@foobar:~> sudo mount orion:/smallass/mp3s /mp3s
mperry@foobar:~> cd /mp3s/
mperry@foobar:/mp3s> touch test
mperry@foobar:/mp3s> ls -l test
-rw-r--r-- 1 mperry users 0 2005-12-24 14:23 test

Now if I look at the results of the mount command on my suse laptop...

orion:/smallass/mp3s on /mp3s type nfs (rw,addr=192.168.1.50)

So I can touch files, edit files, and delete files as a non-root user on
this particular nfs share pretty easily.

That's about all I did to get things working. I don't know if it makes
differences or not, but the debian box is running XFS file systems and my
SuSE laptop is on reiserfs.

HtH somewhat.

--
Michael Perry | Do or do not. There is no try --Master Yoda
mperry@xxxxxxxxxxxxxx | http://www.lnxpowered.org
.



Relevant Pages

  • Re: NFS Character Issues on Suse 9.1
    ... When I mount that directory on my desktop which runs MDK ... >> However, when I mount the same NFS share on my Suse 9.1 laptop, some ... automatically mount the nfs share on the MDK server. ...
    (alt.os.linux.suse)
  • NFS Character Issues on Suse 9.1
    ... I have a file server that runs MDK 9.1 and uses NFS to export a directory. ... When I mount that directory on my desktop which runs MDK 10, ... However, when I mount the same NFS share on my Suse 9.1 laptop, some files ...
    (alt.os.linux.suse)
  • Re: SUSE 10.1 Printer problem
    ... Store-bought packaged SUSE v10.1 ... Attempts to mount the drive as root from ... My floppies, CD, DVD and USB flash drives all mount automatically with ...
    (alt.os.linux.suse)
  • Re: [SLE] Root filesystem on LVM on SuSE 9.0 (Progress!)
    ... SuSE needs to tweak their distribution to support this out of the box since ... Activate and mount your filesystems: ... can't believe support for this on ext3, the default filesystem on Red Hat, ...
    (SuSE)
  • Re: [SLE] NFS in V 10 and Apple OS
    ... I'm also having a few problems with NFS on SuSE 10. ... I am trying to mount ... resources from a SLES 9 machine, presumably set up for nfsvers 3??? ...
    (SuSE)