LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-08-2007, 11:49 PM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
Server always gives permission denied


I'm trying to network two computers. I'm using Slackware 12.0. I have set up a loop back device for testing on my system. Here is a list of what I think are the relevant files.
hosts
Code:
# For loopbacking.
127.0.0.1               localhost
192.168.1.3             Veronica.home.local Veronica.
HOSTNAME
Code:
Veronica.home.local
exports
Code:
/mnt/backup/Media/Audio/Music \
192.168.1.0/255.255.255.0(ro,root_squash,subtree_check)
hosts.deny
Code:
ALL : ALL
hosts.allow
Code:
ALL : 192.168.1.0/255.255.255.0
When I try to mount on the host computer, I get this message
Code:
root@Veronica:/mnt# mount 192.168.1.3:/mnt/backup/Media/Audio/Music /mnt/test
mount: 192.168.1.3:/mnt/backup/Media/Audio/Music failed, reason given by server: Permission denied
So I can't even mount a loop back. What could be wrong?
 
Old 11-09-2007, 12:10 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 79
And you verified that the daemons are up?
 
Old 11-11-2007, 05:01 PM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
I got this to work by recompiling my kernel with nfs options enabled. The help menu in the kernel config says that you don't need to compile in nfs and nfsd if you use the daemons, but I guess that's wrong. Thanks for the help though.
 
Old 11-11-2007, 06:07 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 79
Quote:
Originally Posted by binarybob0001 View Post
The help menu in the kernel config says that you don't need to compile in nfs and nfsd if you use the daemons, but I guess that's wrong.
Actually, it says that the server doesn’t need the module, but the client does. Since your machine is acting like a client in addition to being a server (when you try to mount through the lo interface), you do need the kernel-level code.
 
Old 11-11-2007, 10:43 PM   #5
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
Oh, stupid me. At least it's working : )
 
  


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
Sound Server (Permission Denied error) rapont Slackware 8 10-29-2007 03:49 AM
nfs server permission denied lackluster Linux - Networking 3 08-21-2004 11:47 AM
nfs problem server: Permission denied anamika123 Linux - Networking 5 04-30-2004 02:56 AM
Tftp-server permission denied? Vid Linux - Software 6 01-28-2004 11:08 PM
reason given by server: permission denied scottsteibel Linux - Newbie 2 11-26-2003 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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