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] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to