LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-25-2010, 02:16 PM   #1
GrateWhiteSmurf
LQ Newbie
 
Registered: Jan 2010
Location: State College, PA
Distribution: Gentoo, Ubuntu 10.10 Netbook Remix, OpenSuSE 11.2
Posts: 19

Rep: Reputation: 0
NFS isn't writable


At work I have a network of six computers running Ubuntu. I have a file server set up on a computer with Ubuntu 10.04. It works just fine on one of my computers but fails on three others and I've yet to test the last. The one that works and one that isn't working have 10.04; the other two that do not work have 9.04.

The file system mounts just fine on all four computers. However the owner of the folder seems random. On one computer it's user 1001, the other two belong to other uses. This seems weird to me because these are not the users who were logged in when I mounted file system. I was root when I set it up.

I've tried to sudo chown the folder but it tells me that permission is denied.

/etc/export give rw option to all the computers.
/etc/fstab also has them mounting with rw
And as I've said it works fine on the one computer, so I don't think it's anything wrong with the server.

I believe all that I need to do is change the owner of the folder, but I'm having problems with that.

Oh, I followed these instructions to set up the file server:
http://www.aboutdebian.com/lan.htm
 
Old 05-25-2010, 02:57 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Try exporting with no_root_squash. This will allow root on *other* systems to modify the NFS export's files. Only do this if you trust root on the other systems.

Otherwise, you'll need to sync up the users IDs and names on all the systems to allow user 1001 (whatever its name is) to access the files.
 
Old 05-25-2010, 03:25 PM   #3
GrateWhiteSmurf
LQ Newbie
 
Registered: Jan 2010
Location: State College, PA
Distribution: Gentoo, Ubuntu 10.10 Netbook Remix, OpenSuSE 11.2
Posts: 19

Original Poster
Rep: Reputation: 0
It seems like that did the trick. I've only tested one of the computers today, but I was able to change the owner. Thank you much.
 
  


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
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
Why dynstr is writable ? Valery Reznic Linux - General 0 05-27-2009 07:49 AM
Writable OIDs? Lander Linux - Software 0 06-19-2006 11:43 AM
Live CD writable satimis Linux - Distributions 2 05-23-2005 03:26 AM
Writable HELP ME kill4surf Linux - General 1 02-16-2003 11:06 PM

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

All times are GMT -5. The time now is 06:44 PM.

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