LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-11-2007, 07:49 PM   #1
LakeWind
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
NFS Server Shared Directory - File Permissions Problem


I have an NFS Server and a shared directory that needs full access by everyone on the LAN. The shared directory is for storing files that need to be modified and used by a number of different users (ie: file.txt is created by user "X" and then user "Y" needs full access to it to modify the file).

The problem that I am having is that when user "X" creates the file, it takes the file permissions from user "X". Consequently, user "Y" cannot modify the file as needed because user "Y" does not have permission.

How do I set up the NFS shared directory so that EVERYONE has equal and full access to all of the files created and stored in this directory, regardless of who created the file? I must be missing something really simple!

Any help with this would be greatly appreciated.

Thanks!

Last edited by LakeWind; 06-11-2007 at 09:40 PM.
 
Old 06-12-2007, 02:51 AM   #2
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Rep: Reputation: 30
hello,
If you are having a shared directory with the name "/nfs/share" then please try this
chmod -R 1777 /nfs/share.
Restart your nfs service.
I think this will fix your problem.
 
  


Reply



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
Why can I not write to an NFS client directory shared by Samba tmarston Red Hat 5 03-13-2007 08:22 PM
LAN Directory and File Permissions Problem Woodsman Slackware 4 08-28-2006 08:14 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
Umounting NFS shared directory matta Linux - Networking 2 03-09-2004 05:31 AM
Does anyone know why mounting NFS shares causes the directory permissions to change? gkneller Linux - Networking 4 01-29-2004 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:29 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