I changed init code to this
--------------
/*
void init ( nsIFile file , PRInt32 ioFlags , PRInt32 perm , PRInt32
behaviorFlags )
Arguments:
file: - file to write to (must QI to nsILocalFile)
ioFlags:
0x04 | 0x08 | 0x20 read + write, create, truncate
perm: -
00700 read, write execute
behaviorFlags: flags specifying various behaviors of the class
(currently none supported)
0
*/
fos.init(scriptfile, 0x04 | 0x08 | 0x20,0700, 0);
--------------
It shows up as this
-rwx------ 1 garyjohn garyjohn 170B Sep 7 15:01 gjtemp.sh
however, it does not create a Test1.out
On 9/7/07, Neil <[EMAIL PROTECTED]> wrote:
> Gary Johnson wrote:
>
> >I create the file gjtemp.sh fine.
> >
> Did you create it with execute permissions or just read and write?
> _______________________________________________
> Project_owners mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/project_owners
>
--
I hope to be the kind of person my dog thinks I am. :)>
http://mywebpages.comcast.net/adgj/
http://wwwCookDotCom.com
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners