Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 1997 18:53:41 +0200 (MESZ)
From:      Robert Eckardt <roberte@MEP.Ruhr-Uni-Bochum.de>
To:        hackers@freebsd.org
Subject:   amd + linux = permission denied
Message-ID:  <199708231653.SAA01215@ghost.mep.ruhr-uni-bochum.de>

next in thread | raw e-mail | index | archive | help
Since I upgraded most of our machine to 2.2.2, I have some problems.
Each question will go in a seperate mail.

I want to mount a directory with amd on a 2.2.2 box from a linux box.
FreeBSD pion 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Wed Aug 20 19:10:25 CEST 1997     root@pion:/usr/src/sys/compile/PION_1  i386
Linux linux19 2.0.30 #4 Fri Aug 8 17:17:53 MEST 1997 i586 unknown
(Linux is from the S.u.S.e distrib.)

I configured a directory /mounted_homes as the amd managed directory
with maps coming from NIS.
The problem is that I get `Permission denied' when accessing the
auto-mounted directoy.
However, it works fine when I mount by hand.
Afterwards, I can also access the cached data via the auto-mounted directory.
In subdirectories I get again `Permission denied'.

Has anyone an idea what might be the cause and where to fix it ?

With my thanks,
Robert


18:38 pion: / 1#% ypmatch linux19 amd.mounted_homes
host==l19-tp2;type:=link;fs:=/usr/local/applix host!=l19-tp2;rhost:=l19-tp2;fs:=
${autodir}/${rhost}/applix;rfs:=/usr/local/applix;sublink:=${autodir}/${rhost}/a
pplix;opts:=ro,intr,soft,noconn

18:38 pion: / 1#% ll /linux19/.
ls: /linux19/.: Permission denied
18:38 pion: / 0#% mount -o ro,intr,soft,noconn l19-tp2:/usr/local/applix /mnt
18:39 pion: / 0#% ll /mnt
total 68
-rwxr-xr-x   1 daemon  daemon  58781  7 Apr 18:21 applix
drwxr-xr-x  41 daemon  daemon   1024  7 Apr 17:27 axart
drwxr-xr-x  10 daemon  daemon   2048 24 Jul 10:55 axdata
drwxr-xr-x   2 daemon  daemon   1024 24 Jul 10:55 axfilter
drwxr-xr-x   4 daemon  daemon   1024  7 Apr 18:45 axfonts
drwxr-xr-x   2 daemon  daemon   2048 24 Jul 10:55 axlang
drwxr-xr-x   2 daemon  daemon   1024 24 Jul 10:55 axlocal
drwxr-xr-x   9 daemon  daemon   1024  7 Apr 18:46 template
18:39 pion: / 0#% umount /mnt
18:39 pion: / 0#% ll /linux19/.
total 68
-rwxr-xr-x   1 daemon  daemon  58781  7 Apr 18:21 applix
drwxr-xr-x  41 daemon  daemon   1024  7 Apr 17:27 axart
drwxr-xr-x  10 daemon  daemon   2048 24 Jul 10:55 axdata
drwxr-xr-x   2 daemon  daemon   1024 24 Jul 10:55 axfilter
drwxr-xr-x   4 daemon  daemon   1024  7 Apr 18:45 axfonts
drwxr-xr-x   2 daemon  daemon   2048 24 Jul 10:55 axlang
drwxr-xr-x   2 daemon  daemon   1024 24 Jul 10:55 axlocal
drwxr-xr-x   9 daemon  daemon   1024  7 Apr 18:46 template
18:39 pion: / 0#% ll /linux19/axart
ls: alphabet: Permission denied
ls: anml_out: Permission denied
ls: arrows: Permission denied
[....]

-- 
Robert Eckardt                \\ FreeBSD -- solutions for a large universe.(tm)
RobertE@MEP.Ruhr-Uni-Bochum.de \\       What do you want to boot tomorrow ?(tm)
http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708231653.SAA01215>