LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 09-15-2005, 05:58 PM   #1
mvo
Member
 
Registered: Apr 2005
Location: Delhi, India
Distribution: Mostly Fedora
Posts: 42

Rep: Reputation: 15
nfs umask setting


When a client writes a file to a nfs share, i want permission 777 of that file.
how do I achieve that, fstab does not seems to support 'umask=0' for nfs...
what other possibilities do I have?
Doing after everylogin a umask 0 does not seem to me to be a preferred solution

Last edited by mvo; 09-15-2005 at 06:24 PM.
 
Old 09-16-2005, 09:52 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
no mount option for umask with nfs for Linux
i think nfs inherits umask from init and i don't think there is a way to controll it
this is one of those things where other Unix flavors you can contrll it i think
i know on IBM Unix there is a simple environment variable specifically for this
always wondered why not for Linux.
I guess for security
speaking of security
are you sure you want nfs shares to be 777 ?

Last edited by foo_bar_foo; 09-16-2005 at 09:53 PM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting root's umask triley Linux - Security 3 08-05-2005 08:56 AM
umask setting Cort Linux - Newbie 2 09-28-2004 12:18 PM
mount with uid and umask via NFS grendel-IT Linux - Networking 1 08-06-2004 11:57 AM
umask setting?? TheRealDeal Linux - General 4 01-03-2004 02:45 AM
umask setting on ftp server fuzzyboots Linux - Newbie 1 07-18-2003 04:13 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration