*BSD News Article 61761


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.belwue.de!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NFS: Why /usr can mount but not /var?
Date: 20 Feb 1996 01:23:53 GMT
Organization: Private BSD site, Dresden
Lines: 23
Message-ID: <4gb7r9$d34@uriah.heep.sax.de>
References: <4g8qoa$k5p@qualcomm.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

kurktchi@qualcomm.com (Elya Kurktchi) writes:

> in my /etc/exports file, i put in 2 lines to test out nfs between
> two freebsd boxes.  they are:

> /usr -alldirs
> /var -alldirs
> 
> 
> when i telnet to my other freebsd box and type: mount host:/usr /usr1, i'm
> able to mount my "host"'s /usr as /usr1 on my box.  Now when I replace the
> usr's and put in var's, I cannot mount /var off of my remote host.  Anybody
> know why?  It's the same line as /usr, but I get permission denieds.

Is /var part of your / file system?  Mount permissions are being
granted per file system, not per directory.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)