I have a script which transfers the ownership of a file to another user, this works when the user who runs the scripts is the owner of the file that is going to be transferred.
Would it be possible to accomplish this without having to login as the owner of the file to run the script? I have the email and the password of the owner.