in reply to Re: Re: Setting permissions as text file is created
in thread Setting permissions as text file is created

What happens when you try it?

(And you probably should also read perldoc perlopentut which gives examples of correct use of sysopen().)