diff --git a/backend/src/main/java/com/funeat/common/s3/S3Uploader.java b/backend/src/main/java/com/funeat/common/s3/S3Uploader.java index dd0bc062e..23a572ad0 100644 --- a/backend/src/main/java/com/funeat/common/s3/S3Uploader.java +++ b/backend/src/main/java/com/funeat/common/s3/S3Uploader.java @@ -4,7 +4,6 @@ import static com.funeat.exception.CommonErrorCode.UNKNOWN_SERVER_ERROR_CODE; import com.amazonaws.services.s3.AmazonS3; -import com.amazonaws.services.s3.model.CannedAccessControlList; import com.amazonaws.services.s3.model.ObjectMetadata; import com.amazonaws.services.s3.model.PutObjectRequest; import com.funeat.common.ImageUploader; @@ -78,7 +77,6 @@ private ObjectMetadata getMetadata(final MultipartFile image) { private PutObjectRequest getPutObjectRequest(final MultipartFile image, final String key, final ObjectMetadata metadata) throws IOException { - return new PutObjectRequest(bucket, key, image.getInputStream(), metadata) - .withCannedAcl(CannedAccessControlList.PublicRead); + return new PutObjectRequest(bucket, key, image.getInputStream(), metadata); } }