>
> 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 -p /foo.txt /bar.txt' and i'll be able to
        retain the original ownership and perms of the file. this is
        of course provided that the user account copying the file has
        permission to do so. as root, i would.

        i guess that i am really looking for the answer as to whether
        or not my situation merits

          system('cp -p /foo.txt /bar.txt');

        or if this is something that can be done with File::Copy.

        thanks! -charles


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to