From owner-freebsd-hackers Sat Aug 23 09:53:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01798 for hackers-outgoing; Sat, 23 Aug 1997 09:53:47 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01779 for ; Sat, 23 Aug 1997 09:53:42 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.8.5/8.8.4) id SAA01215 for hackers@freebsd.org; Sat, 23 Aug 1997 18:53:41 +0200 (MESZ) From: Robert Eckardt Message-Id: <199708231653.SAA01215@ghost.mep.ruhr-uni-bochum.de> Subject: amd + linux = permission denied To: hackers@freebsd.org Date: Sat, 23 Aug 1997 18:53:41 +0200 (MESZ) X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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