> -----Original Message----- > From: Dylan Boudreau [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 12:09 PM > To: [EMAIL PROTECTED] > Subject: Creating a file with permissions _rw_______ > > > I have my output going to a file I am creating at the time and want to > have the file permissions as just _rw_______ > > Is there a way to set the umask of the file when it is being opened?
perldoc -f umask perldoc -f open You would use something like: umask 066; open F, ">myfile.txt" or die $!; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]