In my Services automator script i am trying to save a keyNote file in temporary location , "/private/var/folders/0r/twy5tths4kjc08htlv15y9c40000gn/T/TemporaryItems/Untitled.key", This is the temporay path which i get using below Apple script statement "set the defaultDestinationFolder to (path to temporary items)".
Apple script statement to save :
save front document in file "/private/var/folders/0r/twy5tths4kjc08htlv15y9c40000gn/T/TemporaryItems/Untitled.key".
I see below error
The document “Untitled” could not be exported as “Untitled”. You don’t have permission.
When i checked system preferences there is KeyNote entry go created under Full Disk Access preferences pane, even If i enable this i am not able to save .
And i dont see any user consent popup when i am trying to access this location
As per catalina Documentation they havent mentioned anywhere that /private/var/folders is restricted, either in Full disk access or Files and Folders access.
I can change the location i save files, is there any temporary location in macOS which is user specific , safe and accessible
Any help is much appreciated. As catalina is already out, its high time to understand its security features