LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-30-2006, 08:26 AM   #1
cuk
Member
 
Registered: Jun 2004
Distribution: slackware 10.2.
Posts: 39

Rep: Reputation: 15
nfs permissions


Hello,
The files which I put on the nfs share are read only by default. How to change this? I tried umask=000 , but I am told "unknown nfs mount parameter: umask=0"
fstab>>
xx.x.x.x:/home/cuk/share /mnt/share nfs auto,users,rw,rsize=8192,wsize=8192,hard,intr 0 0
 
Old 11-30-2006, 09:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as nfs is a posix compliant unix filesystem it does not need to deal with permissions and rights fudging, unlike samba, in the main. the rights set on the files actually on the server are passed straight through, so you'd be looking at changing them on the server irrespective of NFS.
 
Old 11-30-2006, 04:08 PM   #3
cuk
Member
 
Registered: Jun 2004
Distribution: slackware 10.2.
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you for the quick answer. But how to do it? I can easily change the permissions after the files are moved to the share, but this extra step is exactly what I am trying to eliminate. I'll try to explain it once more in detail. There is cuk's laptop and bok's desktop. cuk is sharing a directory in his home folder, permissions are 775. bok mounts it onto /mnt/cuks_shared , which is owned by him. The directory and all the files in it are 775. He copies a new document inside /mnt/cuks_shared, but this new document becomes read only. He has to change permissions to rw so cuk can start working with it. How do I enable that the new files copied into /mnt/cuks_shared are right away rw, without the extra step of chmodding them? Sorry if I am insulting your intelligence with this lenghty explanation, just trying to make sure there is no misunderstanding. Thanks again, best regards
cuk

Last edited by cuk; 11-30-2006 at 06:25 PM.
 
Old 11-30-2006, 08:07 PM   #4
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
the nfs howto is very straight forward and easy to understand. I can't remember off to top of my head but I think you'd be looking at editing /etc/exports.conf. The howto explains the options

Last edited by justwantin; 11-30-2006 at 08:08 PM.
 
Old 02-25-2009, 08:42 AM   #5
satish.lx
LQ Newbie
 
Registered: Feb 2009
Location: US
Distribution: Debian
Posts: 5

Rep: Reputation: 0
You can used ACL to ignore umask and you can use what ever permission need on NFS share
 
Old 02-25-2009, 08:50 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please don't drag up dead threads. 3 years down the road there is no point replying.
 
Old 02-26-2009, 06:08 PM   #7
satish.lx
LQ Newbie
 
Registered: Feb 2009
Location: US
Distribution: Debian
Posts: 5

Rep: Reputation: 0
This post for not existing thread, its for who are looking solution related to this error one day i was also find solution on net related to this problem and i didn't got any solution related to this issue.
 
  


Reply

Tags
nfs, permissions, umask



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
nfs permissions issue geletine *BSD 4 05-11-2006 05:24 PM
NFS file permissions pembo13 Linux - Networking 7 08-18-2004 02:40 PM
NFS Permissions Problem MattLaw Linux - Networking 2 11-11-2003 09:39 AM
NFS Permissions on files kpw4v Linux - Networking 7 10-08-2003 06:05 PM
NFS Permissions aqoliveira Linux - General 0 01-10-2002 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:24 AM.

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