BTW, the "1" bit (execute) is search on directories. Consider the following example:

~:$ mkdir test
~:$ touch test/try
~:$ cat !$
cat test/try
~:$ chmod 000 test
~:$ !cat
cat test/try
cat: test/try: Permission denied
~:$ chmod 100 test
~:$ !cat
cat test/try
~:$

The point is that I need search permission on test to be able to open test/try (regardless of what permissions I have for try).

===
Gregory Woodhouse
[EMAIL PROTECTED]

Better. Faster. Cheaper. Pick two.


On Jun 16, 2005, at 3:41 AM, steven mcphelan wrote:

I do not see the difference between your two open statements. I do not see the open statement that shows the successful opening of the file when it was in the OpenVistA folder. Anyway, your original problem is improper path (or
directory) syntax.  The path must include all trailing punctuation
characters required by the OS that separates the pathname from the filename.
I believe this should work if all permissions allow for it:
D OPEN^%ZISH("PATFILE","/home/vista/ VistA/","patmast.txt","R")
not
D OPEN^%ZISH("PATFILE","/home/vista/ VistA","patmast.txt","R")






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to