Hi
I’m having issues with lucee modifying permissions of objects in s3
We use an external service (filestack) to upload files into a temp folder in s3
Our service then moves these files into specific folders via cffile (and renames them).
Files uploaded into the temp folder in s3 have the correct permissions (as in they are only accessible via signed urls) however once the file is moved (via cffile) the permissions of the object gets changed to public (all users: read)
The following settings have been defined in our application.cfc :
this.s3.acl = 'private'
this.tag.file.acl='private'
this.tag.directory.acl='private'
we’ve also attempted to use the following after the move operation;
var updatedPermissions = [{group="all", permission="private"}];
StoreSetACL(s3FileObj, updatedPermissions);
But private is not a valid option (according the the error output)
If anyone can point me in the general direction of a solution or a clear method of setting an object in s3 to be accessible only via a signed URL, it would be greatly appreciated.
Cheers