Re: Setting the file permissions of a file I'm writing to

2003-12-09 Thread Steve Grazzini
On Tuesday, December 9, 2003, at 10:53 PM, Dan Anderson wrote:
Is it possible to specify the permissions of a file I create when I:

open ("FOO", "> ./bar")
  or die ("Could not create file");
  use Fcntl;
  sysopen(FOO, $path, O_WRONLY|O_CREAT|O_TRUNC, 0750)
or die "sysopen: $path: $!";
--
Steve
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



Setting the file permissions of a file I'm writing to

2003-12-09 Thread Dan Anderson
Is it possible to specify the permissions of a file I create when I:

open ("FOO", "> ./bar")
  or die ("Could not create file");

Thanks in advance,

Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]