I don’t know which of the following steps actually causes this, but here’s what I know so far:
- create file (tested with both pdf and plain text)
- add some text to that file (I used the words New file)
- in the Annotations and Reminders inspector, create an annotation by selecting new from template/default annotation
- leave the default text in situ
- drag a photo from the Photos app to the annotation (you will receive a notice that the photo has been exported in lower resolution)
- find the annotation in the annotations folder
- from the context menu select Show in Finder
- in Finder, from the context menu of the annotation file select Get Info
- you will see the annotation is in rtfd-format rather than rtf (because it contains an image)
- in the Sharing & Permissions section, the heading will be “You have custom access” rather than “You can read and write” as is the case for all other annotations which are saved in rtf, rather than rtfd format.
- the Names & Privileges listed below that entry are identical in both this annotation and any other in rtf rather than rtfd format
(addendum: I have tried the same steps, but adding an image dragged from Finder rather than from Photos; the result is the same)
Why are these annotations being created with “custom access”? (and what does that even mean?) These files are not accessible in the same way as others which are marked “you can read and write”, despite my being the owner and having “Read & Write” privilege. Some software - including
shell script "/usr/bin/openssl sha1 " & quoted form of thePath cannot access the file, producing a read error.
I’m happy to provide more details (and @cgrunenberg I’m going to send you the read error message unredacted by PM in just a moment); presumably there are more details on the file permissions available via the terminal?