You can also run this script to find out the Apache process owner:
And then change the owner of the destination directory to what you’ve got. Use the command:
chown user destination_dir
And then use the command
chmod 755 destination_dir
to change the destination directory permission.