Hi Bert,

... of course there is no problem writing files to Program Files if you run
as Administrator.  This is what the read me says:

Installation Notes:
===================

* The test suite framework must be able to write temporary files in its
sub-directory structure.  Do not install this snapshot into a directory
structure that may restrict file writing privileges.  On Windows Vista and
later, the typical user can not write files to the C:\Program Files
sub-directory tree.

So, the read me doesn't say you can't install the test suite into Program
Files it implies that you may have problems if you install somewhere that
you don't have write privileges.  And it notes that the *typical *user can
not write to Program Files.  Because 90% of Windows users don't really
understand that.

The intent is not to document every minute detail of every quirk in
Windows, it is to give enough information so that if a user has a problem
that can figure out for themselves what the problem is.

As far as some of your other questions, read the ReadMe.first file and see
if you still have questions:

"Gotchas for the General User:
=============================

Some test cases may make assumptions that cause the test to fail when the
test suite is run in an unexpected environment.  Some of these are known and
listed below.  Most likely there are other circumstances not as yet known.
...
The WindowsEventLog.testGroup has tests in it that will fail if the test
suite is not executed with Administrator privileges."

--
Mark Miesfeld




On Sun, Feb 16, 2014 at 12:54 AM, Bertram Moshier
<[email protected]>wrote:

> Hi Mark,
>
>
> > I am adding a note to the read me to not install into Program Files.
> > The framework needs to be able to write temporary files in its
> > sub-directory structure and on Vista and later, typically that is not
> > possible.
>
> Ah, couple of things . .
>
> 1) What about other directory paths that have spaces in the path, though?
> An example on MY system would be:  c:\users\Bertram G Moshier\
>
> 2) As for writing temporary files in the directory structure using Vista,
> Windows 7, Windows 8, and Windows 8.1, my solution is simple:  I have two
> types of command prompts on my desktop.  One runs with Admin Rights and the
> other runs without any rights.
>
> Thus far when I've run "ooTest" in the "Program Files" directory and when
> running OTHER Rexx programs there, too, I haven't seen any problems with
> R/W access to files or directories, when the command prompt running the
> Rexx program has admin privileges / rights.
>
> Of course maybe "ooTest" never ran far enough before dying to generate any
> temporary files.  You'd have to tell me if it didn't get far enough.
>
> As for the other Rexx programs, I know they were able to create, read, and
> write / modify files in the "Program Files" structure without any
> additional coding, as long as I started the Rexx program in a Command
> Prompt with admin rights.  Up front I didn't try this with workers, though,
> but with single threading.
>
>
>
> > While that is not impossible to fix, in this case it truly is not
> > worth the work involved.  At least for me.  Any one is
> > welcome to fix it if they want.
>
> Ah, is running the test suite (ooTest) in a command prompt (cmd.exe) with
> admin rights the solution?  If not, where does it fail?
>
> If it doesn't fail and is successful would updating the documentation
> stating the need to run the test suite in a command prompt with admin
> rights be the fix?
>
> I suspect it fails given I suspect you already tied it given how simple it
> is to try.  If it does fail, my guess is it fails in the workers started by
> the main didn't inherit admin privileges, but I could be wrong, as I have
> yet to try it and thus am only guessing.
>
> Bert.
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to