New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error unsupported absolute path for Tunnelblick #1409
Comments
Try without the leading |
Then it won't work, because Tunnelblick actually uses the root Library folder for VPN profiles, not the folder in the home directory. I've just discovered the same issue, also with Tunnelblick, so before I stumbled upon this issue I checked the code: Absolute paths are rejected explictly here: https://github.com/lra/mackup/blob/master/mackup/appsdb.py#L51 Was this an intentional design decision? If so, why? I think backing up configs should not be limited to paths under the user's home directory. If there is no good reason to forbid this, I would be willing to submit a PR to add support for absolute paths. |
Yes, because the purpose of Mackup is to sync user's files, and no user file is supposed to live outside of the home folder in a multi user system. Syncing Frankly, I don't see any good reason for any app to store any user setting out of |
Good point, but
You know it would be people intentionally backing up paths that aren't under their home dir, right? It's not like Mackup would interfere with random stuff on people's computers. Still though, I think I could solve this with symlinks, if I still desired to do so. I just found that I had installed the VPN profiles as shared, so Tunnelblick was saving them under the global Library directory rather than the the user-local one. But when I tried to make the profiles user-local, Tunnelblick choked due to the symlinked local profile directory (the one that is backed up with the default config). I guess I understand what you mean by breaking stuff now. Maybe it would be an option to add a second backup strategy to Mackup where it makes copies rather than symlinks? |
This is definitely planned |
Hello ! I've just found this thread and I was wondering if the option to add a second backup strategy to Mackup where it makes copies rather than symlinks is still something in the roadmap. In my particular use case (I'm on Mac), I wanted to add some configuration in my Firefox (basically removing some default shortcuts and added new ones). Long story short, it appears that I needed to create 2 files in
|
I have a custom config for Tunnelblick, in which I wanted to 'mackup' my VPN config file(s).
But whenever I add this, mackup throws an error:
When I remove
/Library/Application Support/Tunnelblick/Shared
it works again.The text was updated successfully, but these errors were encountered: