[Mac 10.14] Data Migration from Safari is not working due to lack of "Full Disk Access" permission
Categories
(Firefox :: Migration, defect, P2)
Tracking
()
People
(Reporter: Ovidiu, Assigned: Gijs)
References
(Blocks 2 open bugs, )
Details
Attachments
(5 files, 1 obsolete file)
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Reporter | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Reporter | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Reporter | ||
Comment 11•6 years ago
|
||
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Reporter | ||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Reporter | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Reporter | ||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Updated•6 years ago
|
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Comment 24•5 years ago
|
||
The MVP would be to open the Full Disk Access pane automatically or with a link from the browser selection page (similar to the one for Chrome about closing it if it’s running).
Comment 25•5 years ago
|
||
One other approach that might be worth trying is having a button in the importer "Select Safari Bookmarks.plist file" that opens a file dialog configured to start in ~/Library/Safari and only allows selecting plist files. The user would have to select Bookmarks.plist and that grants Firefox access to it.
Assignee | ||
Comment 26•5 years ago
|
||
(In reply to Haik Aftandilian [:haik] from comment #25)
One other approach that might be worth trying is having a button in the importer "Select Safari Bookmarks.plist file" that opens a file dialog configured to start in ~/Library/Safari and only allows selecting plist files. The user would have to select Bookmarks.plist and that grants Firefox access to it.
This doesn't seem to work (tested on Mojave), in that if I open ~/Library/Safari
with a regular file > open dialog, it has a "entry forbidden" (ie red circle with white stripe in the middle) icon on top of the folder and refuses to list any contents, claiming the folder has a size of 0 bytes. Same for ~/Library/Mail
, and Calendars and various other subfolders of ~/Library/
. Do you see something else?
Assignee | ||
Comment 27•5 years ago
|
||
(I also tried using Firefox > Preferences > Downloads, to pick a folder, then picked the ~/Library/Safari folder, and that didn't help either)
Comment 28•5 years ago
|
||
(In reply to :Gijs (he/him) from comment #26)
This doesn't seem to work (tested on Mojave), in that if I open
~/Library/Safari
with a regular file > open dialog, it has a "entry forbidden" (ie red circle with white stripe in the middle) icon on top of the folder and refuses to list any contents, claiming the folder has a size of 0 bytes. Same for~/Library/Mail
, and Calendars and various other subfolders of~/Library/
. Do you see something else?
Yes, it works for me on 10.14.6 and 10.15. In Nightly, with File->Open, (I use command-shift-. to show the Library dir in the file dialog), I can navigate to ~/Library/Safari and select Bookmarks.plist and open it. I tried a $ tccutil reset All
and that didn't change anything. I do not have Nightly set to have full disk access. In Terminal, I'm able to cd into ~/Library/Safari and get a directory listing, but IIRC, at one point that was prevented so I must have done something to change this. I don't know what the recommended steps are for debugging something like this unfortunately.
You might be able to get some debug info from /Applications/Utilities/Console or using a log command such as $ log stream --debug --predicate 'subsystem == "com.apple.TCC"'
although this might be independent from TCC.
Comment 31•5 years ago
|
||
I still think comment 24 is low-hanging fruit that we should implement.
Joni, maybe we can have the SUMO page explain how the user can import from Safari on 10.14+? See comment 12 for 10.14 instructions, they may be slightly different for 10.15.
Comment 32•5 years ago
|
||
FYI the new Microsoft Edge just shows a dialog and links to a support article about granting Full Disk Access if it doesn't already have it.
Comment 33•5 years ago
|
||
(In reply to Matthew N. [:MattN] (PM me if request are blocking you) from comment #31)
I still think comment 24 is low-hanging fruit that we should implement.
Joni, maybe we can have the SUMO page explain how the user can import from Safari on 10.14+? See comment 12 for 10.14 instructions, they may be slightly different for 10.15.
Please review this draft and add any comments to it if necessary: https://docs.google.com/document/d/18owEv35aaollJDj-v2whI4hJuWe5T0M0DVDHBkrHcsc/edit?ts=5e2f042f#.
Comment 35•5 years ago
|
||
I made some comments in the document. I also have a WIP patch with the approach from comment 24.
Comment 36•5 years ago
|
||
The docs were published a little while ago at https://support.mozilla.org/kb/importing-safari-data-firefox
We should probably link to them from the product in a new dependency bug if we don't get to this soon.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 37•4 years ago
|
||
Comment 38•4 years ago
|
||
Comment 39•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 40•4 years ago
|
||
Hey @Gijs,
I've been testing the issue on MacOS 10.14 with Nightly 82.0a1 (20200901094542) and Nightly 84.0a1 (20201112094441). With "Full Disk Access" permission set manually, both builds imported data from Safari without problem. However, if the "Full Disk Access" permission was not set, I still couldn't import the Safari data using both builds and I got the situation mentioned in comment 26. Can you please weigh in on this?
Also according to comment 36 there was an option to add a link to the Support Mozilla article, but I couldn't see it in the current Nightly build. Is this expected?
Assignee | ||
Comment 41•4 years ago
|
||
(In reply to Alexandra Martin from comment #40)
Hey @Gijs,
I've been testing the issue on MacOS 10.14 with Nightly 82.0a1 (20200901094542) and Nightly 84.0a1 (20201112094441). With "Full Disk Access" permission set manually, both builds imported data from Safari without problem. However, if the "Full Disk Access" permission was not set, I still couldn't import the Safari data using both builds and I got the situation mentioned in comment 26. Can you please weigh in on this?
You should not be setting the full disk access permission to test, and you should be getting a different wizard page when attempting to import Safari bookmarks, like the one in this screenshot. If you then click Continue you should see a file picker.
Are you unable to reproduce this on 10.14 ? If so, what about 10.15 ? On the 10.14 machine, can you try with a new user account to make sure no specific permissions for Firefox or Safari have been set (make sure to create some bookmarks in Safari before attempting to import!).
Comment 42•4 years ago
|
||
I've tried again with the provided suggestions (different user accounts, not setting the full disk access permission, making sure there are bookmarks in Safari) on two 10.14 devices and one 10.15 device with Nightly 84.0a1 (20201113095941) and Beta 83.0 (20201112153044). I am getting the wizard page on both builds, however in 10.14 after I click "Continue", it doesn't lets me import what I bookmarked in Safari, because the folder is blocked. In 10.15 everything is fine, I could easily get to the Bookmarks.plist file and import it. If you have other suggestions I could try, I would very much appreciate it.
Assignee | ||
Comment 43•4 years ago
|
||
(In reply to Alexandra Martin from comment #42)
Created attachment 9187671 [details]
10.14 Safari bookmarks import.pngI've tried again with the provided suggestions (different user accounts, not setting the full disk access permission, making sure there are bookmarks in Safari) on two 10.14 devices and one 10.15 device with Nightly 84.0a1 (20201113095941) and Beta 83.0 (20201112153044). I am getting the wizard page on both builds, however in 10.14 after I click "Continue", it doesn't lets me import what I bookmarked in Safari, because the folder is blocked. In 10.15 everything is fine, I could easily get to the Bookmarks.plist file and import it. If you have other suggestions I could try, I would very much appreciate it.
Bah, I should have remembered this - I talked about this a year ago with a friend of mine: https://twitter.com/tuxtina/status/1184374590082113536 .
I think we should mark this as verified fixed and have a follow-up for 10.14 (which we might wontfix...) - 10.15 is used a lot more so I imagine that was the more important fix here.
Comment 44•4 years ago
|
||
With 83.0 and macOS 10.15, it appears to work after selecting the prompted file.
Assignee | ||
Comment 45•4 years ago
|
||
(In reply to :Gijs (he/him) from comment #43)
(In reply to Alexandra Martin from comment #42)
Created attachment 9187671 [details]
10.14 Safari bookmarks import.pngI've tried again with the provided suggestions (different user accounts, not setting the full disk access permission, making sure there are bookmarks in Safari) on two 10.14 devices and one 10.15 device with Nightly 84.0a1 (20201113095941) and Beta 83.0 (20201112153044). I am getting the wizard page on both builds, however in 10.14 after I click "Continue", it doesn't lets me import what I bookmarked in Safari, because the folder is blocked. In 10.15 everything is fine, I could easily get to the Bookmarks.plist file and import it. If you have other suggestions I could try, I would very much appreciate it.
Bah, I should have remembered this - I talked about this a year ago with a friend of mine: https://twitter.com/tuxtina/status/1184374590082113536 .
I think we should mark this as verified fixed and have a follow-up for 10.14 (which we might wontfix...) - 10.15 is used a lot more so I imagine that was the more important fix here.
Alexandra, would you mind confirming and filing a follow-up for 10.14? Thank you.
Comment 46•4 years ago
|
||
Alexandra, would you mind confirming and filing a follow-up for 10.14? Thank you.
I file this in the behalf of Alexandra, since she moved to another project. Please see bug 1679179 as a follow-up.
I think we should mark this as verified fixed and have a follow-up for 10.14 (which we might wontfix...) - 10.15 is used a lot more so I imagine that was the more important fix here.
I agree, I will close this bug as verified fixed per comment 44. Thanks!
Description
•