Hello
I've read the File::Copy perldoc and didn't see how you can pass
something to preserve file ownership. So, I guess you're stuck with
using "system". You can try setting the file attributes manually using
chown after using File::Copy but that all depends on your situation.
Sometimes it's wo
>
> Under unix, a user cannot change ownership of a file to another user and
> cannot create a file with another user's ownership.
>
> So, whenever you create a file, you'll be the owner of that file.
>
this helps, however the script will be run as root. within
unix, i can do 'cp
Hello,
Under unix, a user cannot change ownership of a file to another user and
cannot create a file with another user's ownership.
So, whenever you create a file, you'll be the owner of that file.
Root follows no rules of course.
Hope this helps,,,
Aziz,,,
In article <[EMAIL PROTECTED]>,
"c
I am using File::Copy and I think I am either misreading the CPAN doc or
missing
something in my code. When I am copying files, ownership and permissions
do not
remain intact, but rather take on the ownership and permissions of the
user running the
script.
The docs talk about syscopy but s