in reply to Re: File Permissions
in thread File Permissions

No, that can't be it. chmod is not affected by the umask. Only making a new file or new directory.

I can't tell... is this a web script (if so, it's very dangerous) or a command-line script?

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: File Permissions
by Anonymous Monk on Jul 23, 2001 at 00:08 UTC
    This is command line. 0777 is just for testing--the data it's copying at the moment needs 777, but eventually it'll be something more like 750 or 550.