open and write a file with 777 permissions.

2007-09-25 Thread Tyler Bird
I was wondering if anyone knows offhand how I can open and write to a file with 777 permissons. And possibly also set the owner to a specified owner string. I am reading through IO::File, but having some issues. Thanks

Re: open and write a file with 777 permissions.

2007-09-25 Thread bharanee rathna
you need to do a umask(0) , try going through perldoc -f umask On 9/26/07, Tyler Bird <[EMAIL PROTECTED]> wrote: > > I was wondering if anyone knows offhand > how I can open and write to a file with 777 permissons. > > And possibly also set the owner to a specified owner string. > > I am reading