Set S3 permissions.