Monday, 10 September 2018

IBM Information Server - File names with colons are a pain in the ... colon

Following on from an earlier post: -

I hit the same issue today, and was able to mitigate it with a little bit of hacking ….

It seems that the problem is with the character conversion of the filename from the original extract: -

ls -al /Volumes/DaveHaySSD/Repo/IIS/is-suite/payloads/Shared/ODBCDrivers/payload/help/odbc

-rwxr-xr-x     1 davidhay  staff    9569 10 May  2017 :RJDIC00

and the way that files with the colon ( : ) character are seen within the guest RHEL VM.

I "proved" this by creating a similarly named file, on the VM itself: -

cd /mnt/IIS/is-suite/payloads/Shared/ODBCDrivers/payload/help/odbc
touch ":FOO"

which, in the guest, appears thus: -

-rw-r--r-- 1 501 games      0 Sep 10 20:37 :FOO

but on the host, appears as this: -

-rw-r--r--     1 davidhay  staff       0 10 Sep 20:37 &%FOO

Therefore, I cheated ….

On the host, I did this: -

cd /Volumes/DaveHaySSD/Repo/IIS/is-suite/payloads/Shared/ODBCDrivers/payload/help/odbc
cp ":RJDIC00" "&%RJDIC00"

Now, on the host, I see this: -

-rwxr-xr-x     1 davidhay  staff    9569 10 Sep 20:39 &%RJDIC00

BUT on the guest, I see this: -

-rwxr-xr-x 1 501 games   9569 Sep 10 20:39 :RJDIC00

More importantly, the IIS installation proceeds normally ……

Hacky McHackFace !!!!

No comments:

Grokking grep

A colleague was tinkering with grep  and, thanks to him, I discovered a bit more about the trusty little utility. I had not really explored ...