issue with saving web page to the dock in Sonoma

Just installed Sonoma on my M1 iMac and tried putting a web page into the dock to be used as an app. I get this message - "You don't have permission to save the file gmail.app in the folder Applications. To view or select the item in the Finder and choose File >Get Info." Well that doesn't work because I don't have anything called gmail or gmail.app in Applications. Thoughts?

iMac (M1, 2021)

Posted on Sep 26, 2023 12:19 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 27, 2023 8:55 AM

I had this issue too, even though I had read/write permission to the Applications folder. I discovered that web apps are not stored in the Applications folder that appears in the Finder sidebar; they are saved in an Applications folder under your User folder. To get there select "Go" in the Finder Main Menu, followed by "Go to Folder ..." (or simply use the Shift+Cmd+G shortcut), and enter "~/Applications". Right click on this Applications folder and select "Get Info". Unlock the padlock at the bottom right of the Get Info window by clicking on it and entering your logon password (if it is locked). Go the Sharing & Permissions: section. If your user name is not listed, click on the + sign and add it. Select "Read & Write" from the drop down list under Privilege against your name. Click on the padlock at the bottom right of the Get Info window to re-lock it. You should now be able to save web apps to the dock.

30 replies
Question marked as Top-ranking reply

Sep 27, 2023 8:55 AM in response to ATHiker95

I had this issue too, even though I had read/write permission to the Applications folder. I discovered that web apps are not stored in the Applications folder that appears in the Finder sidebar; they are saved in an Applications folder under your User folder. To get there select "Go" in the Finder Main Menu, followed by "Go to Folder ..." (or simply use the Shift+Cmd+G shortcut), and enter "~/Applications". Right click on this Applications folder and select "Get Info". Unlock the padlock at the bottom right of the Get Info window by clicking on it and entering your logon password (if it is locked). Go the Sharing & Permissions: section. If your user name is not listed, click on the + sign and add it. Select "Read & Write" from the drop down list under Privilege against your name. Click on the padlock at the bottom right of the Get Info window to re-lock it. You should now be able to save web apps to the dock.

Oct 23, 2023 2:17 PM in response to ATHiker95

I had the same issue. The permissions on the "Applications" folder in my home directory were wrong. To be honest I'm not 100% sure of what the proper permissions and ownership should be, but I just added write permissions for me. There are lots of way to do this, but what I did was:

  • Launch "Terminal"
  • By default you should be in your Home folder, if not
cd ~
  • Check permissions on the folder with the command
ls -l

The result was (result truncated to only show the first 2 lines

total 15216
drwxr-xr-x    3 root      staff       96 Sep 27  2022 Applications


Note in this case I'm not root, but I am in the staff group. The permissions above mean:

d = directory

"rwx" = Owner permissions, Read, Write ,eXecute

"r-x" = Group permissions, Read, NO-write, eXecute

"r-x" = Others permissions, Read, NO-write, eXecute


Since I, as a member of the group but not the owner, didn't have write permissions the failure made sense. So to fix that I issues the command:

sudo chmod 775 Applications

This requires you to be an admin user, and you'll need to enter your password at this point.

Looking at things after:

ls -l
total 15216
drwxrwxr-x    3 root      staff       96 Sep 27  2022 Applications

So now the group, has write permissions.


This allowed me to save the web app.

Sep 26, 2023 1:14 PM in response to ATHiker95

Maybe review this support document: Use Safari web apps on Mac - Apple Support


This features saves the web page to the Applications folder in your home directory. This is different from your main Applications folder. Make sure that Applications folder exists in your home directory, it doesn't already have a gmail.app file, and doesn't have any funky permissions on it.

Sep 26, 2023 5:24 PM in response to ATHiker95

ATHiker95 wrote:

So we got sort of a workaround but it is not ideal situation. I can drag the URL to the right side of the doc and it will give me a picture of a globe. If I hover over it, it will tell me the name of the website. The icon for the web page unfortunately doesn't move over. So once I drag 3 or 4 URL's to the doc, I end up with 3 or 4 globes sitting there. It will not allow me to move the globes to the left side of the line where permanent apps usually reside. So this is what appears to be a bug.

Those are just webloc files - essentially hyperlinks stored to a file.


It sounds like the permissions in home directory are screwed up. Or perhaps your entire home directory is scrambled. Try creating a new user account on your computer. Login to that new user account and try it there. I bet it works fine.


Unfortunately, it can be difficult to track down why your permissions aren't working. It could be just permissions. You said that you "unlocked permissions" but I'm not sure what that means. There is a padlock icon in the Get Info window, but just clicking it won't do anything. You have to unlock and then change permissions. You will have to do that on the Applications folder in your home directory. If your permissions are scrambled, then it won't be able to create those stub apps in the applications folder. So that's why you don't see the apps. It is the Applications folder itself that needs fixing.


However, it could also be your home folder, or something else. There are dozens of various 3rd party system modification apps, system hack apps, "clean up" tools, etc. These things are extremely popular and cause an extremely large number of problems. If these kinds of 3rd party tools are causing the problem, then you might not be able to create Dock apps in your new user account either.


So what I'm saying is that it works fine. There's no bug. Your system is simply scrambled. This is day one for Sonoma. I'm sure in the coming weeks you'll have several million friends in exactly the same spot.

Sep 26, 2023 8:03 PM in response to etresoft

Thank you for making me look further into permissions. So I did a few things. I went into system settings / privacy and security/ allow full disk access and added Safari. Then I went back to the ~user/Applications folder and clicked get info again. I went to the bottom where the permissions are listed and unlocked it again. Then I clicked the little +a button to add people and saw my name populate on the right column. I thought that was just indicating I already had permissions, but I clicked on my name anyway and then clicked Select. I then relocked it , opened Safari again, went to The NY Times page, clicked on File/Add to Dock - BINGO!!! icon appeared in the dock. (So thanks for leading me to explore further). Interestingly when I was screen sharing with the Apple guy that little + button at the bottom of permissions wouldn't do anything. I also use CleanMyMacX (I know - that is supposedly a big no-no for some folks, but I've never had an issue with it) and went into it and clicked on Repair Permissions (which I had done before I did the stuff above). That didn't work either. (And a big thanks to everyone who chimed in trying to help. Greatly appreciated) P.S - as a final note I went back in and turned off full disk access for Safari and then tried it again - still working ok so that didn't really have anything to do with it


Sep 26, 2023 4:52 PM in response to ATHiker95

So we got sort of a workaround but it is not ideal situation. I can drag the URL to the right side of the doc and it will give me a picture of a globe. If I hover over it, it will tell me the name of the website. The icon for the web page unfortunately doesn't move over. So once I drag 3 or 4 URL's to the doc, I end up with 3 or 4 globes sitting there. It will not allow me to move the globes to the left side of the line where permanent apps usually reside. So this is what appears to be a bug.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

issue with saving web page to the dock in Sonoma

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.