S3 as a storage of files

Hello!
I cannot understand, how to properly configure S3 (keeping it in restricted mode) as a solution to store files in the next directories: /files, /public/media, /public/sitemap, /public/thumbnail?
I see that I need yml config, but using this I receive this exceptions: The bucket does not allow ACLs.
_____________
shopware:
filesystem:
public:
url: „{url-to-your-public-files}“
# The Adapter Configuration
private:
visibility: „private“
# The Adapter Configuration
theme:
url: „{url-to-your-theme-files}“
# The Adapter Configuration
asset:
url: „{url-to-your-asset-files}“
# The Adapter Configuration
sitemap:
url: „{url-to-your-sitemap-files}“
# The Adapter Configuration

You know that page? Filesystem | Shopware Documentation

To be honest, this is not entirely clear to me - the part about storing object in S3 from directories: /files, /public/media, /public/sitemap, /public/thumbnail.

I see how this can be done with NFS, but I want to try switching to S3, however, I don’t fully understand the correct settings and why the settings are listed this way. I just need someone to explain in chat how this is meant, which directories (specifically) will be transferred to S3, and what the bucket needs to have in its settings, otherwise everything will break (avoiding exceptions like - “AccessControlListNotSupported\nMessage: The bucket does not allow ACLs”

I’ve already tried the settings specified in the docs, but they didn’t work for me.
To be more open in the chat, I will say that I would not write if everything was clear to me

Thank you