Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-06-2004, 11:25 AM   #1
LQ Newbie
Registered: Mar 2004
Distribution: Debian,Gentoo,Ubuntu
Posts: 23

Rep: Reputation: 15
mount with uid and umask via NFS

I want so share a partition via NFS so a PC with DVD-burner will burn it.
I've mounted the partition on the PC with:
#mount /dev/hdax /mnt/hdax
I've configured NFS to share only to the pc that directory.
On the PC I succesfully mount the directory, but some files and dirs are unreadable cause of permission denied! They have the 3 last permissions items empty (---). That should be the problem. I've tried mounting (on the NFS server the partition) with uid=code and even setting ownmask but I've got errors...
Thanks im advance,
Old 08-06-2004, 11:57 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
Say the nfs mount point is : /mnt/nfs on the client, /shares/nfs on the server, server IP is : and client IP is : You want to set uid to 500 and gid to 100

in the fstab of the client :
Code:  /mnt/nfs  nfs  rw,sync,noauto,user,rsize=8192,timeo=14,wsize=8192,intr 0   0
in the /etc/exports of the server :



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
nfs umask setting mvo Linux - Newbie 1 09-16-2005 09:52 PM
SuSE 9.2, Samba, wrong GID/UID after mount dickohead Linux - Networking 2 04-21-2005 04:38 AM
Mounting NFS Shares ... UID Problem Riddick Linux - Software 1 01-06-2005 09:48 AM
UID Mapping for NFS without NIS jgombos Linux - Networking 1 07-27-2003 06:52 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration