Re: misinterpretation of File::Copy

2001-07-23 Thread Abdulaziz Ghuloum
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

Re: misinterpretation of File::Copy

2001-07-23 Thread charles
> > 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

Re: misinterpretation of File::Copy

2001-07-23 Thread Abdulaziz Ghuloum
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