From owner-freebsd-current Mon Mar 27 01:02:59 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA20956 for current-outgoing; Mon, 27 Mar 1995 01:02:59 -0800 Received: from reinfra.regent.e-technik.tu-muenchen.de (root@reinfra.regent.e-technik.tu-muenchen.de [129.187.230.226]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id BAA20873 for ; Mon, 27 Mar 1995 01:02:28 -0800 Received: from vector.eikon.e-technik.tu-muenchen.de ([129.187.142.36]) by reinfra.regent.e-technik.tu-muenchen.de with SMTP id <18905>; Mon, 27 Mar 1995 11:02:06 +0200 Received: (from jhs@localhost) by vector.eikon.e-technik.tu-muenchen.de (8.6.11/8.6.9) id AAA20140 for current%freebsd.org@regent.e-technik.tu-muenchen.de; Mon, 27 Mar 1995 00:57:47 +0200 Date: Mon, 27 Mar 1995 00:57:47 +0200 From: Julian Howard Stacey Message-Id: <199503262257.AAA20140@vector.eikon.e-technik.tu-muenchen.de> To: current@FreeBSD.org Subject: amusing buglet with nfs & msdos file systems Sender: current-owner@FreeBSD.org Precedence: bulk Here's a strange bug using nfs & msdos file systems .... All the files in the target directory come out zero size, when nfs copying from one host's /dos to another host's /dos, if target /dos is 755 root. Detail follows: With 2 hosts, called `lion' & `vector', with nfs mounts of all directories such that lion:/dos appears as vector:/host/lion/dos etcetera... (vector runs a 10 day old current, lion about the same, the symptom/fault/phenomena has been the same the last few weeks). vector ttyp6 9 % pwd /dos2/bin/vsl vector ttyp6 8 % tar cf - * | ( cd /host/lion/dos/bin/vsl ; tar xf - ) < 0 size files created, as said > I got round the problem with: vector ttyp6 10 % tar cf /host/lion/tmp/t * lion ttyp1 1 % tar xf /tmp/t I had to go superuser on `lion' though; as before `su' I got: lion ttyp1 9 % tar xf /tmp/t tar: Could not create file cat.exe : Permission denied .... etc .... Looking further: lion ttyp1 6 % pwd ; ls -al | head /dos/bin/vsl drwxr-xr-x 1 root wheel 2048 Mar 19 16:21 ./ drwxr-xr-x 1 root wheel 2048 Mar 19 16:21 ../ lion ttyp1 8 % cd /dos ; ls -al | head drwxr-xr-x 1 root wheel 16384 Jan 1 1980 ./ drwxr-xr-x 19 root wheel 1024 Mar 19 15:32 ../ lion ttyp1 11 % cd / ; sx umount /dos ; ls -al drwxr-xr-x 2 root wheel 512 Mar 4 17:27 dos/ lion ttyp1 14 % sx chmod 777 /dos ; sx mount /dos vector ttyp6 11 % tar cf - * | ( cd /host/lion/dos/bin/vsl ; tar xf - ) lion ttyp1 16 % cd dos/bin/vsl ; ls -l | more -rwxrwxrwx 1 root wheel 18285 Nov 17 03:19 addcr.exe* -rwxrwxrwx 1 root wheel 17037 Nov 17 03:19 brackets.exe* PS sx is a little suid 0 program running thing. --- Julian Stacey , +49 89 268616 (Don't Use: )