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 02-11-2009, 02:59 PM   #1
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
[SOLVED]konqueror nfs location only works when root


Hi all,

I have the following problem:

I setup a computer as an nfs server.

When I mount nfs://xxx.xxx.xxx.xxx then it works (as root).

same when I browse to nfs://xxx.xxx.xxx.xxx with konqueror as root, it works as it should.

However, when I try the same in konqueror, then I cannot access the files.

If I do nfs://xxx.xxx.xxx.xxx then I see the different directories that are shared. But as soon as I click one of them, konqueror gives me a messages "the file or folder ... does not exist".
While it does exist and works fine in konqueror run as root.

Anyone has a clue?

Thanks in advance!

Last edited by deadeyes; 02-13-2009 at 04:37 AM.
 
Old 02-11-2009, 06:52 PM   #2
instrumentpilot
Member
 
Registered: May 2006
Posts: 34

Rep: Reputation: 2
konqueror nfs location only works when root

Hi deadeyes,

I've never tried to access an NFS share through a browser, but it sounds like a permission issue on the exported directories.

Also, are you running SELinux? What distro?

Michael
 
Old 02-12-2009, 03:22 AM   #3
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Original Poster
Rep: Reputation: 79
Quote:
Originally Posted by instrumentpilot View Post
Hi deadeyes,

I've never tried to access an NFS share through a browser, but it sounds like a permission issue on the exported directories.

Also, are you running SELinux? What distro?

Michael
The nfs server is running FreeBSD without SELinux.

The /etc/exports file is as follows:
Code:
/backup-volume/filestorage /backup-volume/allmusic
/usr/home/torrentflux
Code:
# showmount -e
Exports list on localhost:
/usr/home/torrentflux              Everyone
/backup-volume/filestorage         Everyone
/backup-volume/allmusic            Everyone
EDIT: I found what the problem was. mountd needed -n option on my FreeBSD NFS server (weak_mountd_authentication="YES" or mountd_flags="-r -n" in rc.conf)
This allows connections from clients which send request on non-privileged ports (insecure in /etc/exports in linux).

If you want the total story:
http://opensource-openmind.blogspot....use-i-can.html

I hope this helps someone else.

Thanks for your help here!

Last edited by deadeyes; 02-13-2009 at 04:35 AM.
 
  


Reply

Tags
freebsd, gentoo, konqueror



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
Konqueror Location Bar shifty_eyes Linux - Software 3 11-23-2005 11:12 PM
Location of Konqueror Bookmarks file wombat53 Slackware 2 07-12-2005 10:04 AM
NFS :: Permission denied after mounting, root works.. Devils_Guardian Linux - Networking 1 11-17-2004 10:40 AM
konqueror location bar thegreenearth Linux - Newbie 3 09-04-2003 02:12 PM
Konqueror Location bar question pyxx15 Linux - Newbie 1 12-24-2002 12:27 PM

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

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