Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-06-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.