fixed s3 copy on debian