Description of the issue:
Brave web application shortcuts could fail if you change your MacOS home folder.
How can this issue be reproduced?
- Visit a web application you want to make a desktop shortcut for (e.g. https://podcasts.google.com)
- Make a desktop shortcut for the web application (
Menu > More Tools > Create Shortcut...) - Logout from the MacOS user you’re currently logged into so you can login to a different Administrator account to change the location of the home directory of the user from which you created the shortcut. (https://support.apple.com/en-ph/HT201548#:~:text=To%20get%20there%2C%20you%20can,you%20used%20to%20log%20in.)
- Switch back to the user from which you created the shortcut (i.e. the user you used to create the Google Podcasts shortcut).
- Open the shortcut.
- You will get the following error message, or something along this:
"Brave cannot read and write to its Data directory"
Expected result:
Ideally, Brave should be able to handle the change in home directory, resolve the change, and then open the application normally. Otherwise, a support article for this scenario might be useful.
Brave Version:
Version 1.32.113 Chromium: 96.0.4664.45 (Official Build) (arm64)
](https://brave.com/latest/)
Additional Information:
First and foremost, I am aware that this will likely be a very uncommon use case to begin with. I am just posting this here as a bug report for your reference.
I’m not sure how Brave application shortcuts work behind-the-scenes, but the issue basically stems from Brave trying to access a directory from the old user home directory location. As such, re-creating the application shortcut instantly fixes the issue.
P.S. I think a MacOS user who is willing to change home directory locations of users should, in most cases, have the aptitude to figure out this issue and resolve it on their own.