Also try to write t o/tmp this usually has 777 permissions where other directories may be more restricted
Thanks Marc Aylesworth C3I Associates AFRL/IFSE Joint Battlespace Infosphere Team 525 Brooks Rd Rome, NY 13441-4505 Tel:315.330.2422 Fax:315.330.7009 Email: [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of K.S. Bhaskar Sent: Friday, June 17, 2005 9:23 AM To: [email protected] Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting Usha -- The information you sent, shell commands that I used to illustrate the use of ZSYstem, are probably not very helpful to anyone trying to debug why %ZISH is not accessing files in directories other than /home/vista/OpenVistA. You may want to post the output of the following commands: ZSY "id" ZSY "ls -ld /home/vista/OpenVistA" ZSY "ls -ld XXX" where XXX is a directory where %ZISH is unable to open a file. You can also just send the output of the commands executed at a Linux shell rather than the GT.M prompt: id ls -ld /home/vista/OpenVistA ls -ld XXX -- Bhaskar Usha wrote: > I am able to open any file in /home/vista/OpenVistA directory only. No > other > file is opening using %ZISH. > > Following is a screenshot, with the help of Bhaskar > > GTM>ZSYstem "echo $PWD" > /home/vista/OpenVistA > > GTM>ZSYstem "uname -a" > Linux local.cmpio.org 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 > i686 i686 i386 GNU/Linux > > GTM>h > [EMAIL PROTECTED] vista]$ echo $PWD > /home/vista > [EMAIL PROTECTED] vista]$ > > > Regards > Usha > ----- Original Message ----- > From: "Gregory Woodhouse" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, June 16, 2005 5:28 PM > Subject: Re: [Hardhats-members] Does not ask DEVICE while exporting > > > > Can you OPEN the file? Can you open (with %ZISH) a file in a > > different directory (say /tmp)? > > > > === > > Gregory Woodhouse > > [EMAIL PROTECTED] > > > > "Without the requirement of mathematical aesthetics a great many > > discoveries would not have been made." > > -- Albert Einstein > > > > > > > > On Jun 16, 2005, at 4:00 AM, Usha wrote: > > > > > The difference between the previous and later open statements is > > > that the > > > latter open statement was executed after opening the file in WRITE > > > mode > > > (which I think, created a new file patmast.txt in /home/vista/ > > > OpenVistA > > > directory). > > > > > > After deleting the "/home/vista/OpenVistA/patmast.txt" file, when I > > > try to > > > run the open command with the trailing '/', the following is what I > > > see > > > > > > GTM>D OPEN^%ZISH("PATFILE","/home/vista/VistA/","patmast.txt","R") > > > > > > GTM>w POP > > > 1 > > > GTM> > > > > > > Regards > > > Usha > > > > > > > > > > > ------------------------------------------------------- > > 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 > <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 > > > > > > > > ------------------------------------------------------- > 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 > <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 > ------------------------------------------------------- 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 ------------------------------------------------------- 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
