lra / mackup

Keep your application settings in sync (OS X/Linux)
GNU General Public License v3.0
14.63k stars 932 forks source link

Cyberduck not syncing bookmarks #891

Open LeonardoGentile opened 8 years ago

LeonardoGentile commented 8 years ago

Hello, I've added Cyberduck to the list of my synced app but it's not syncing the bookmarks from one machine to another. I can see the file ~/Library/Preferences/ch.sudo.cyberduck.plist is pointing to the synced version of the settings (into dropbox folder). However, the bookmarks I create in one machine do nothing on the other one. Maybe the bookmarks are stored somewhere else?

I can provide more information if needed.

rizkysyazuli commented 8 years ago

i haven't tried restoring settings yet. but i also found it weird you didn't store Cyberduck's bookmark:

here's the location of my bookmarks. i have both cyberduck and mountainduck installed. /Users/username/Library/Group Containers/G69SCX94XU.duck/Library/Application Support/duck/Bookmarks

luckman212 commented 7 years ago

Not using Mackup (yet) but -- possible snag with this is, at least on my system, Cyberduck refuses to read Bookmarks if the Bookmarks folder is a symlink. I'm trying to open a bug ticket w/ them but their registration system seems broken at the moment and I can't even register to open the bugreport.

godbout commented 5 years ago

Same here. plist is sync but Cyberduck can't grab the bookmarks from it.

brandonjp commented 3 years ago

Issue persists. Just did a restore on a new MBP last week and just opened Cyberduck to find it empty. Haven't tried the recommended PR from above yet https://github.com/lra/mackup/pull/967 , but I can confirm another Mac does have *.duck bookmark files in the location added in the PR - Library/Group Containers/G69SCX94XU.duck/Library/Application Support/duck : https://github.com/lra/mackup/pull/967/commits/098ad92a8ddf00fe499293dc265a52b013becfd8#diff-98d73de36c547da0b65c8bf56643d5b93079ff2e2afe75ac1eb442b19949121cR8

lra commented 3 years ago

Apps with containers cannot be synced as macOS prevent 3rd party apps to access those files, and the path has a random ID in the name, e.g. G69SCX94XU.duck.

The only thing I can do is remove support for Cyberduck. Should I?

rizkysyazuli commented 3 years ago

Hi @lra, as pointed by @brandonjp and Cyberduck's own docs. The ID is not random. But.. I might be wrong. Needs further testing. And if you're not comfortable with that. Feel free to remove it.

There's already docs about adding support for unsupported apps anyway. I personally created a ~/.mackup/cyberduck-bookmarks.cfg file in my computer with this:

[application]
name = CyberDuck Bookmarks

[configuration_files]
# based on https://trac.cyberduck.io/wiki/help/en/faq#Preferencesandapplicationsupportfileslocation
Library/Containers/ch.sudo.cyberduck/Data/Library/Application Support/Cyberduck
Library/Group Containers/G69SCX94XU.duck/Library/Application Support/duck
lra commented 3 years ago

Hi @lra, as pointed by @brandonjp and Cyberduck's own docs. The ID is not random. But.. I might be wrong. Needs further testing. And if you're not comfortable with that. Feel free to remove it.

Thanks for digging, if it's the case, we are good. PR welcome.