[Linux-disciples] MP3s on one machine, Apache on another
Adam Kessel
adam at rosi-kessel.org
Thu May 20 19:00:18 EDT 2004
On Thu, May 20, 2004 at 06:57:58PM -0400, Stephen R Laniel wrote:
> On Mon, Apr 19, 2004 at 11:18:21AM -0400, Adam Kessel wrote:
> > Then, on Machine 1, create /etc/exports
> > /mp3s 192.168.1.3(ro,root_squash)
> > And on Machine 2, add to /etc/fstab
> > 192.168.1.2:/mp3s /mnt/mp3s nfs users,noexec,ro,auto
> > And you're all set. This will allow only Machine 2 to mount the NFS
> > share and no other systems.
>
> (It takes me a while to do certain things. The NFS-mounting
> of an MP3 directory is one such thing.)
>
> The server -- the machine exporting the NFS shares -- is
> giving me 'permission denied' when I try to mount it from my
> client machine. Any idea why? The permissions on the NFS
> share are rwx for everyone, just to make sure that's not the
> problem; the share's owner is root:root. If the share is in
> /etc/exports -- which it is -- shouldn't anyone in the
> world who can see it be able to mount it?
Did you restart nfs-kernel-server on the server after configuring
/etc/exports? Is nfs-common installed on the client? Do you see any
additional messages in /var/log/syslog on either machine? Are you using
a stock kernel or a custom kernel? Are you mounting as root or some
other person? Finally, I assume /mnt/mp3s exist?
--
Adam Kessel
http://adam.rosi-kessel.org
More information about the Linux-disciples
mailing list