*BSD News Article 64785


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!pravda.aa.msen.com!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!info.ucla.edu!news.ucdavis.edu!Nuxi.com!not-for-mail
From: obrien@Nuxi.com (David E. O'Brien)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: /etc/exports problem
Date: 1 Apr 1996 01:14:42 GMT
Organization: University of California, Davis
Lines: 32
Message-ID: <4jnam2$f34@mark.ucdavis.edu>
NNTP-Posting-Host: nuxi.cs.ucdavis.edu
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

I'm having a real problem with /etc/exports.  I can export some things, but
not others.  Even with I use the same EXACT syntax.  What in the world am I
doing wrong?

I've changed the order around in the /etc/exports file, but that didn't
help.  I've re-typed it in, that didn't help either.  If I remove the "-ro
relay dragon...." from the exporting of /files/exports, then it exported
just fine to everyone. :-(

bash# cat /etc/exports
/files/treats	-ro	relay dragon.nuxi.com marmot.cs.ucdavis.edu
/usr			-ro relay dragon.nuxi.com marmot.cs.ucdavis.edu
/files/exports	-ro	relay dragon.nuxi.com marmot.cs.ucdavis.edu

bash# /bin/kill -HUP `/bin/cat /var/run/mountd.pid`

bash# showmount -e
Exports list on localhost:
/files/treats   relay.nuxi.com dragon.nuxi.com marmot.cs.ucdavis.edu 
/usr            relay.nuxi.com dragon.nuxi.com marmot.cs.ucdavis.edu 

bash# tail /var/log/messages
Mar 31 17:05:03 relay mountd[87]: Can't change attributes for /files/exports. 
Mar 31 17:05:03 relay mountd[87]: Bad exports list line /files/exports	-ro	relay dragon.nuxi.com marmot.cs.ucdavis.edu

bash# /bin/ls -lo /files
drwxr-xr-x   2 root  wheel     -  512 Mar 31 16:12 exports
drwxr-xr-x  11 root  wheel     -  512 Feb 23 00:40 treats

Thanks!
-- 
-- David    (obrien@cs.ucdavis.edu)