$cp="cp-f";
Although not related to Perl, cp -p is the option to preserve permissions while copying files as mentioned above
by frozenwithjoy.
(sorry, didn't see that before I posted, I keep too many firefox tabs open for too long).
See man cp
Cheers, Sören
In reply to Re: copying files from cgi perl script is modifying target file permissions
by Happy-the-monk
in thread copying files from cgi perl script is modifying target file permissions
by bhagperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |