[Israel.pm] File permissions and File::Copy

Gabor Szabo gabor at pti.co.il
Mon May 31 06:43:32 PDT 2004


On Mon, 31 May 2004, Offer Kaye wrote:

> What can I do to make File::Copy preserve the file permissions when copying?
> Is this a bug or a feature? :-)

The documentation of File::Copy points you to use its own syscopy
instead...



...but in the code it seems to be just the same as copy (at least on
linux) and it indeed does not work.

On the other hand File::NCopy suggested by Dovalle works.

Gabor




More information about the Perl mailing list