On macOS 14 Sonoma once I click on “Add to dock” to make an online app of any web site, Safari reveals me an error saying:

You don’t have permission to save lots of the file “(web site)” within the folder “Purposes”. 
To view or change permissions, choose the merchandise within the Finder and select File > Get Data.”

On the identical time the /Purposes folder has correct write entry.