2 Answers
- Newest
- Most votes
- Most comments
1
The other answer is correct (S3 isn't a Linux filesystem) and the AWS-supplied CLI won't do what you want - but there is a twist here.
Metadata can be stored with objects in S3. That metadata could include (say) the original file owner and then that could be restored when the object is copied back from S3. This requires the tool doing the copying to take care of that for you.
You might look at s3cmd as an example but there are probably others out there too.
0
S3 doesn't store "Linux" permissions for object. Consider using EFS instead. See some discussion on this topic under: https://www.reddit.com/r/aws/comments/d8lw4z/how_to_preserve_file_permissions_on_a_file_when/
answered 8 months ago
Thanks for the reply
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 6 months ago
Thanks for the reply