Date: Mon, 27 Mar 1995 00:57:47 +0200 From: Julian Howard Stacey <Julian.H.Stacey@regent.e-technik.tu-muenchen.de> To: current@FreeBSD.org Subject: amusing buglet with nfs & msdos file systems Message-ID: <199503262257.AAA20140@vector.eikon.e-technik.tu-muenchen.de>
next in thread | raw e-mail | index | archive | help
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 <jhs@freebsd.org>,<jhs@regent.e-technik.tu-muenchen.de> +49 89 268616 (Don't Use: <jhs@vector.eikon.e-technik.tu-muenchen.de>)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503262257.AAA20140>