LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-24-2004, 12:32 PM   #1
kt_leohart
Member
 
Registered: Aug 2004
Location: Earth
Distribution: Switched back to good old SuSE 9.1 :D
Posts: 30

Rep: Reputation: 15
NFS Problem


Hello everyone,

I have read the tutorial in the tutorial section on how to set up two Linux computers using NFS. So I tried.

I run NFS server on my desktop share this folder /home/my user/Shared
to * host and with option: rw, root_squash, sync.

I want to have 'rw' because I want to make this folder like a place where I can put my stuff and share with my laptop when I want.

Then, I go to my laptop, use Yast2 and run NFS client.
I connect to the NFS server of my desktop (192.168.2.2) and
choose /home/my user/Shared
mount point: /mnt/SeraphSword
option: default (since I don't know any other option)

After that, right click on the desktop choose new->device->nfs. I choose it to point to the mount point 192.168.2.2:/home/my user/Shared(mount to mnt/SeraphSword)

Everything seems to be correct for me. Then, when I try to copy something on my laptop to this NFS folder, it DOES not work. It says I have permission problem. I don't know what's wrong since I have specified 'rw' in my NFS Server settings, things should not be a trouble.

What can I do? TIA
 
Old 11-24-2004, 03:36 PM   #2
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Rep: Reputation: 15
when you're on your laptop, what's the result of the following command in a terminal:

ls -l /mnt/SeraphSword

Chances are you have a username permission issue.
 
Old 11-24-2004, 05:31 PM   #3
kt_leohart
Member
 
Registered: Aug 2004
Location: Earth
Distribution: Switched back to good old SuSE 9.1 :D
Posts: 30

Original Poster
Rep: Reputation: 15
Here it goes:

>ls -l /mnt/SeraphSword
total 0
>

In fact, there is no file in it yet since I found no way to put a file into even when I am on root @ my desktop. I am confused now. How can I put files into it anyway?
 
Old 11-24-2004, 05:40 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,856

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
how do you put things in it? you navigate that directory however you prefer and save a file...
 
Old 11-24-2004, 06:23 PM   #5
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Rep: Reputation: 15
post the output of ls -l /mnt then. It'll tell us what the permissions are on the directory SeraphSword.

Also, what's the permissions set to on the "server" side? What user are you logged in as and trying to write files? It's just an early guess, but you might need to set the NFS opitions on the share to no_root_squash instead of root_squash.
 
Old 11-24-2004, 11:01 PM   #6
kt_leohart
Member
 
Registered: Aug 2004
Location: Earth
Distribution: Switched back to good old SuSE 9.1 :D
Posts: 30

Original Poster
Rep: Reputation: 15
alrighty, that folder is owned by root.root
and the permission is drwxr-xr-x

tried ls -l /mnt/ and got the same thing
drwxr-xr-x root.root SeraphWings

How come, I specified 'rw' as the option for my NFS server anyway.
 
Old 11-25-2004, 09:54 AM   #7
PiLgRiM
Member
 
Registered: Jul 2004
Location: New York
Distribution: SuSE
Posts: 38

Rep: Reputation: 15
the rw just means that you COULD read/write through the NFS mount IF you have permissions. It's an added level of security. I'll bet if you tried to right to the share as root on the local computer, you'd have no problems.

Otherwise, you have to change the ownership to the regular user account you are logged in as. This is also done as root.
 
  


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
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
NFS Problem systemhackerz Red Hat 21 08-02-2005 03:09 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
problem with nfs kamesh3183 Linux - Newbie 5 07-24-2004 11:51 PM


All times are GMT -5. The time now is 12:16 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
Open Source Consulting | Domain Registration