Permissions on files uploaded to mounted S3-compatible CDN

Thank you for this impressive tool.

I am trying to figure out how to control the CDN-level permissions for files uploaded through a cunoFS mount.

Cuno CLI reports permissions as -rw-rw-rw- (no restrictions), but at the CDN, the uploaded file is “Private”, and not accessible over HTTP:

Is there an option in the credentials file for setting default CDN-level permissions?

The CDN is Digital Ocean Spaces, accessed through their S3 API.

Thanks.

Hi crishoj,

POSIX permissions only affect POSIX access and is not reflected into S3/HTML access. I’m afraid this kind of capability is something we’ve only worked towards with Enterprise use cases.

However, you can set Policies in AWS S3 and sufficiently compatible solutions that make all uploaded files to a bucket default to public.

For example see:

  • Dan

Hi Dan,

Thank you for the clarification.

In case setting a policy is not an option, is there any way to get Cuno to call PutObjectAcl for the uploaded files?

That’s definitely a feature we can think about adding. Are you using the library (with your shell on top) or are you using the cuno mount?

PutObjectAcl would be very useful.

I’m using cuno mount, and amazed by the performance. It is blazingly fast compared to Fuse S3FS :sparkles: