
November 26th, 2012, 12:43 PM
|
|
|
|
File::Copy using real user
I have a script that needs to run as root (sudo). However, it needs to copy a file to a network mounted directory to which the running user has R/W access but not root. How do I use 'copy' as the underlying user rather than root? TIA.
__________________
There are 10 kinds of people in the world. Those that understand binary and those that don't.
|