Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: copying files from cgi perl script is modifying target file permissions

by Happy-the-monk (Abbot)
on Jun 20, 2012 at 07:35 UTC ( #977243=note: print w/replies, xml ) Need Help??


in reply to copying files from cgi perl script is modifying target file permissions

$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

  • Comment on Re: copying files from cgi perl script is modifying target file permissions

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://977243]
help
Chatterbox?
[karlgoethebier]: no saturday night special?
[karlgoethebier]: AKA bla, bla
LanX night fever ... ha ha ha ha staying alive ...
[karlgoethebier]: No sack of rice fell over in China?

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-10-21 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?