OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by Heuse » Thu, 30 Sep 2010 23:21:06


Hi,

I have looked at problem more in detail:

It is possible to create a file named *.dir, say test.dir, that
contains no directory information but something different.

The old behavior of dir was, that the file test.dir is been displayed.

$ dir dsa15:[test...]

Directory DSA15:[TEST]

TEST.DIR;1

Total of 1 file.

Now, since V8.4, dir tries to read in the directory info, fails and
exits!!!

$ dir dsa15:[test...]

Directory DSA15:[TEST]

%DIRECT-E-OPENIN, error opening DSA15:[TEST.TEST]*.*;* as input
-RMS-E-ACC, ACP file access failed
-SYSTEM-F-FILNOTACC, file not accessed on channel
TEST.DIR;1

Total of 1 file.

A bad guy now is able to hinder a sysadmin to see what files are in a
user-directory.

Here's an example:

Old behavior:
$ dir dsa15:[test...]

Directory DSA15:[TEST]

TEST.DIR;1 ZZZ.DIR;1

Total of 2 files.

Directory DSA15:[TEST.ZZZ]

ZZZ_BAD.EXE;1

Total of 1 file.

Grand total of 2 directories, 3 files.

"New":

$ dir dsa15:[test...]

Directory DSA15:[TEST]

%DIRECT-E-OPENIN, error opening DSA15:[TEST.TEST]*.*;* as input
-RMS-E-ACC, ACP file access failed
-SYSTEM-F-FILNOTACC, file not accessed on channel
SWSVE.DAT;1 TEST.DIR;1 ZZZ.DIR;1

Total of 3 files.

Any comments?
Eberhard
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by Heuse » Thu, 30 Sep 2010 23:25:00


> Total of 2 file>. >>
> Directory DSA15:[TEST.ZZ>] >>
> ZZZ_BAD.EXE>1 >>
> Total of 1 fil>. >>
> Grand total of 2 directories, 3 file>. >>
> "New>: >>
> $ dir dsa15:[test..>] >>
> Directory DSA15:[TES>] >>
> %DIRECT-E-OPENIN, error opening DSA15:[TEST.TEST]*.*;* as inp>t
> -RMS-E-ACC, ACP file access fail>d
> -SYSTEM-F-FILNOTACC, file not accessed on chann>l
> SWSVE.DAT;1 TEST.DIR;1 >ZZ>.DIR;1
>
> Total o> 3>files.
>
> Any>comments?
> Eberhard

Too much cut-and paste. Please ignore the file SWSVE.DAT;1:

dir dsa15:[test...]

Directory DSA15:[TEST]

%DIRECT-E-OPENIN, error opening DSA15:[TEST.TEST]*.*;* as input
-RMS-E-ACC, ACP file access failed
-SYSTEM-F-FILNOTACC, file not accessed on channel
TEST.DIR;1 ZZZ.DIR;1

Total of 2 files.

 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by R.A.Omon » Thu, 30 Sep 2010 23:38:46

On 29/09/2010 15:21, Eberhard Heuser hat geschrieben:

I'm astonished (or maybe not, which is even worse) that
this sort of bug can:

(a) arise in the first place, and
(b) get past the "quality control".
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by VAXman- » Fri, 01 Oct 2010 00:09:21

In article < XXXX@XXXXX.COM >, Heuser < XXXX@XXXXX.COM > writes:

Thank some newbie in VMS Engineering that doesn't know that we don't base a
file's contents on its .EXTension. I suppose FH2$V_DIRECTORY means nothing
now?


BY the way, it would have been much more helpful is you would have posted
your dump in ASCII TEXT. I'm not about to try to decipher all of the data
from the quoted-pukeable you posted.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

All your spirit rack abuses, come to haunt you back by day.
All your Byzantine excuses, given time, given you away.
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by VAXman- » Fri, 01 Oct 2010 00:10:31

In article <4ca34f78$0$50453$ XXXX@XXXXX.COM >, "R.A.Omond" < XXXX@XXXXX.COM > writes:

You're assuming, of course, that there still is a quality control process!

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

All your spirit rack abuses, come to haunt you back by day.
All your Byzantine excuses, given time, given you away.
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by Guy Pele » Fri, 01 Oct 2010 00:10:44


As previous owner of the DIRECTORY command (up-to V8.3).....I'm
astonished as well.
I'm pretty sure our regression tests used to test this particular
condition.

Guy
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by R.A.Omon » Fri, 01 Oct 2010 00:17:32


And why was some newbie futzing around in DIRECTORY, changing stuff
that's been stable for years, in the first place ?

This annoys the hell out of me - I'm absolutely livid (I know
I shouldn't be, but VMS is *my* livelihood too).
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by IanMille » Fri, 01 Oct 2010 00:31:03


> Total of 2 file>. >>
> Directory DSA15:[TEST.ZZ>] >>
> ZZZ_BAD.EXE>1 >>
> Total of 1 fil>. >>
> Grand total of 2 directories, 3 file>. >>
> "New>: >>
> $ dir dsa15:[test..>] >>
> Directory DSA15:[TES>] >>
> %DIRECT-E-OPENIN, error opening DSA15:[TEST.TEST]*.*;* as inp>t
> -RMS-E-ACC, ACP file access fail>d
> -SYSTEM-F-FILNOTACC, file not accessed on chann>l
> SWSVE.DAT;1 TEST.DIR;1 >ZZ>.DIR;1
>
> Total o> 3>files.
>
> Any>comments?
> Eberhard


I can't reproduce this - I get this sort of error

$ dir data1:[test]foo.dir
%DIRECT-E-OPENIN, error opening DATA1:[TEST]FOO.DIR;* as input
-RMS-E-DNF, directory not found
-SYSTEM-W-BADIRECTORY, bad directory file format

Do you have any patches installed?
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by Jose Baar » Fri, 01 Oct 2010 00:52:32


> > TEST.DIR;1 ZZ.DIR>1 >>> > > Total of 2 file>. >>> > > Directory DSA15:[TEST.ZZ>] >>> > > ZZZ_BAD.EXE>1 >>> > > Total of 1 fil>. >>> > > Grand total of 2 directories, 3 file>. >>> > > "New>: >>> > > $ dir dsa15:[test..>] >>> > > Directory DSA15:[TES>] >>> > > %DIRECT-E-OPENIN, error opening DSA15:[TEST.TEST]*.*;* as inp>t> > > -RMS-E-ACC, ACP file access fail>d> > > -SYSTEM-F-FILNOTACC, file not accessed on chann>l> > > SWSVE.DAT;1 TEST.DIR;1 >ZZ>.>IR;1
>
> > Total o> 3>f>les.
>
> > Any>c>mments?
> > E>erhard
>
> I can't reproduce this - I get this sor> o> error
>
> Do you have any patches installed?

We have 8.4 with update v03, and it's reproducable.

This is a good reproducer:
$ create/dir [.t]
$ set default [.t]
$ create/dir [.c]
$ create [.c]badfile.bad
$ create a.dir
$ dir [.*]
%DIRECT-E-OPENIN, error opening SITE:[USERS.NZZ11T.T.*]*.*;* as input
-RMS-E-ACC, ACP file access failed
-SYSTEM-F-FILNOTACC, file not accessed on channel

Badfile.bad remains unseen!
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by IanMille » Fri, 01 Oct 2010 01:23:27


> > > TEST.DIR;1 ZZ.DIR>1 >>> > > > Total of 2 file>. >>> > > > Directory DSA15:[TEST.ZZ>] >>> > > > ZZZ_BAD.EXE>1 >>> > > > Total of 1 fil>. >>> > > > Grand total of 2 directories, 3 file>. >>> > > > "New>: >>> > > > $ dir dsa15:[test..>] >>> > > > Directory DSA15:[TES>] >>> > > > %DIRECT-E-OPENIN, error opening DSA15:[TEST.TEST]*.*;* as inp>t> > > > -RMS-E-ACC, ACP file access fail>d> > > > -SYSTEM-F-FILNOTACC, file not accessed on chann>l> > > > SWSVE.DAT;1 TEST.DIR;1 >ZZ>.>I>;1
>
> > > Total o> 3>f>l>s.
>
> > > Any>c>m>ents?
> > > E>e>hard
>
> > I can't reproduce this - I get this sor> o> >rror
>
> > Do you have any patches >ns>alled?
>
> We have 8.4 with update v03, and it's rep>od>cable.
>
> This is a good r>producer:
> $ creat>/dir [.t]
> $ set de>ault [.t]
> $ creat>/dir [.c]
> $ create .c>badfile.bad
> $ >reate a.dir
> %DIRECT-E-OPENIN, error opening SITE:[USERS.NZZ11T.T.*]*.>;* as input
> -RMS-E-ACC, ACP file a>cess failed
> -SYSTEM-F-FILNOTACC, file not accesse> o> channel
>
> Badfile.bad remains unseen!



This is a known issue for which there is a fix available and the fix
will be available in a future patch kit.
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by VAXman- » Fri, 01 Oct 2010 02:11:18

In article <4ca3588f$0$50444$ XXXX@XXXXX.COM >, "R.A.Omond" < XXXX@XXXXX.COM > writes:


I am a year into one VMS project and awaiting to get paid for it; however,
because some newbie was futzing around in VMSINSTAL, I won't see a payment
unless they redact or rework the kit signing nonsense in it. So, VMS *may*
be your livelihood but it's not mine.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

All your spirit rack abuses, come to haunt you back by day.
All your Byzantine excuses, given time, given you away.
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by VAXman- » Fri, 01 Oct 2010 02:13:41

n article < XXXX@XXXXX.COM >, IanMiller < XXXX@XXXXX.COM > writes:

...but only to the select few...

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

All your spirit rack abuses, come to haunt you back by day.
All your Byzantine excuses, given time, given you away.
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by Heuse » Fri, 01 Oct 2010 17:39:31


This error comes in since the official V8.4 release. The fieldtest
version was OK in that point.
So noone is responsible but HP.

In my desperation I will use the Fieldtest RMS.EXE. It remind me a bit
of a Windows-OS.

RMS.EXE;3 22-SEP-2009 12:57:37.28 Fieldtest OK
RMS.EXE;2 30-MAR-2010 19:49:06.27 Original version
distribution DVD
RMS.EXE;1 14-MAY-2010 23:11:02.43 Patch in Update1/2/3 for
V8.4

regards
Eberhard
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by helbi » Fri, 01 Oct 2010 18:18:54

In article <4ca3588f$0$50444$ XXXX@XXXXX.COM >, "R.A.Omond"
< XXXX@XXXXX.COM > writes:



All together now, and loudly: SIC TRANSIT GLORIA MUNDI.
 
 
 

OpenVMS V8.4 I64 DCL-dir command fails Part II: file named *.dir causes the problem

Post by IanMille » Fri, 01 Oct 2010 18:26:05

n Sep 29, 6:13m, VAXman- @SendSpamHere.ORG wrote:


it is available to customers paying for support.