the_muffin_man has asked for the wisdom of the Perl Monks concerning the following question:
i have a little script that's supposed to copy some files from one windows box to another windows box on our network. i'd like to make it so that if the files already exist in the new location, they get over-written with new copies.
File::Copy seems to be copying the files such that the permissions are set to read-only. the manpage doesn't say much about permissions, unless i've blatantly misread it. the permissions on the original file are not set to read-only. why would File::Copy be changing them?
thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: clobbering files with File::Copy
by sweetblood (Prior) on Jul 02, 2004 at 15:11 UTC | |
|
Re: clobbering files with File::Copy
by BrowserUk (Patriarch) on Jul 02, 2004 at 16:00 UTC | |
|
Re: clobbering files with File::Copy
by blueAdept (Beadle) on Jul 02, 2004 at 17:47 UTC |