Samba/VMS V2.2.8 build # 20041021 bug report

BG - Ben Armstrong BArmstrong at dymaxion.ca
Thu Nov 25 14:18:20 GMT 2004


On Thu, 2004-11-25 at 14:08 +0100, COLLOT Jean-Yves wrote: 
> Actually, what Rod said is not exactly true. It depends if the VMS disk is
> ODS-2 or ODS-5. Both cases give bad results, but not the same ones.
> 
> On ODS-2, both "NEXT." and "NEXT.DIR" are seen as directories. We see two
> directories with the same name, "Next". The result is that it's impossible
> to do anything with the "next." file, but the contents of the [.NEXT]
> directory is available.

This is not, so far as I can see, an ODS-2 vs. ODS-5 thing.  It just
depends on what Samba sees first (at least on ODS-2).  Also, whether you
see one or two files (or directories) depends on whether you lookup a
specific filename or the directory containing the filename.

For the following tests I used a VMS server running your latest Samba
release plus latest patches, and a Linux client running the latest Samba
+smbfs release in Debian sid/unstable on a Linux 2.6.8 stock Debian
kernel.

Test I:

1. on VMS "create/dir [.foo]"

2. on Linux "ls -ld foo"
drwxr-x---  1 ben dv 4096 2004-11-25 10:10 foo

3. on VMS "create foo."

4a. on Linux "ls -ld foo"
drwxr-x---  1 ben dv 4096 2004-11-25 10:10 foo

4b. on Linux "ls -l"
total 8
drwxr-x---  1 ben dv 4096 2004-11-25 10:10 foo
drwxr-x---  1 ben dv 4096 2004-11-25 10:10 foo

Test II:
1. on VMS "create/dir [.foo]"

2. on VMS "create foo."

3a. on Linux "ls -ld foo"
-rwxr-x---  1 ben dv 0 2004-11-25 10:14 foo

3b. on Linux "ls -l"
total 0
-rwxr-x---  1 ben dv 0 2004-11-25 10:14 foo
-rwxr-x---  1 ben dv 0 2004-11-25 10:14 foo

> On ODS-5, it's the contrary: we see two "NEXT" files, and it's impossible to
> access the contents of the [.NEXT] directory. Rod is probably using ODS-5
> disks.

No.  I know for certain we use ODS-2, not ODS-5.

> Anyway, I'll try to fix that when I have enough time to do so. Rod's idea is
> fine, but I hope it may be possible to show correctly both the directory and
> the file.

That's encouraging.  Thanks!

Ben



More information about the samba-vms mailing list