I am trying to create an acl file for my own notifications directory but am running into problems. Here is what I’ve done:
- Created a directory
/public/notifications/
which I want to use for holding notifications. - I tried sending various
POST
requests to/public/notifications/
withsolid.auth.fetch
but I’m having no luck. I’ve tried playing around with the Content-Type by setting it totext/turtle
, `text/plain’, and leaving it empty, but each of these append a file extension which I don’t want. I checked the node implementation and it looks up the mime-type for a file, but since there is no mime-type for ACL files, I’m running into this problem. Maybe there is a mime-type I can use which will force the server to forget trying to add an extension, but preserve the fact that the file is a utf-8 (or even ascii) text file - I also tried sending a
PUT
request to/public/notifications/notifications.acl
but this gives me a permissions error. I think this is a bug because the error message claims I have no permissions to access this resource.
No permission to access this resource
You are currently logged in as https://myaccount.solid.community/profile/card#me,
but do not have permission to access
https://myaccount.solid.community/public/notifications/notifications.acl.
TL;DR: How can I upload an acl
file with solid.auth.fetch
?