LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-13-2010, 03:48 AM   #1
vofka
LQ Newbie
 
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Rep: Reputation: 15
Question NFS share is mounted as read-only even if write permissions are set


Hello to everybody, under Fedora 12 i try to configure NFS server. On the server machine i configured the share folder as:
/test 192.168.1.100(rw,sync)
restart server /sbin/service nfs restart
make exportfs
on client machine
mount share as:
mkdir /mnt/nfs
mount 192.168.1.100:/test /mnt/nfs
it mounted successful.
However if open the folder /mnt/nfs, i have only read-only permissions.
- The same as if set the remote user as local system user:
/test 192.168.1.100(rw,sync,no_root_squash)
- The same if set the user to folder on server as nfsnobody, after mount it on client i get the same problem. The permissions of folder /test are Write and delete (777) and for all enclosed files
 
Old 04-13-2010, 10:12 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
I am looking good:
/test 192.168.1.100(rw,sync)

On client machine:
mount 192.168.1.100:/test /mnt/nfs

That is rather strange I can conclude that your server is 192.168.1.100?
I would think you exports file is incorrect.
Then you only allow your server itself to mount it.

Are there any other access restrictions? Like attributes?
 
Old 04-14-2010, 06:09 PM   #3
vofka
LQ Newbie
 
Registered: Jun 2009
Distribution: RHEL-5.2
Posts: 26

Original Poster
Rep: Reputation: 15
Yes! The problem was in Host name address.
The client ip was:192.168.1.15.
Server ip address:192.168.1.100.
The problem was in the following line:
/test 192.168.1.100(rw,wdelay,no_root_squash,no_subtree_check)
I thought that Host must be the host name of server, on which the /test folder is exists.
However it must be - the hosts permitted to access folder! So the ip must be ip of client (192.168.1.15).
So lets assume the problem as closed.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NFS share on client changes permissions to read-only GATTACA Linux - Server 1 12-03-2008 01:19 PM
NFS share not mounting with read/write permissions syphoncode.32 Linux - Software 1 06-15-2007 02:46 AM
NFS share is only mounted read-only? Poetics Linux - Networking 2 05-30-2007 12:58 PM
Mount smb Share with read/write permissions gjblackford Linux - Hardware 3 02-26-2007 12:14 PM
Can't write to mounted HD, set permissions in fstab, need help LoneCanisLupus Linux - Hardware 12 02-23-2007 02:49 AM

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

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