mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #1419] Symlinked preferences (.plist) is reset automatically #804
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/MonitorControl#804
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wohfab on GitHub (Aug 31, 2023).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/1419
Before opening the issue, have you...?
Describe the bug
I am using
mackup(https://github.com/lra/mackup) to backup my.dotfilesincluding preferences and settings of installed apps. The program works the way, that it duplicates the original preference files from the~/Library/directories to a specified directory and then create a symlink to this file back into the directory. For MonitorControl it takes these steps:~/Library/Preferences/me.guillaumeb.MonitorControl.plistinto~/.dotfiles~/Library/Preferences/me.guillaumeb.MonitorControl.plist~/.dotfiles/me.guillaumeb.MonitorControl.plistback to~/Library/Preferences/me.guillaumeb.MonitorControl.plistMonitorControl however deletes this symlink and recreates the preferences automatically with the same filename but with the symlink stripped from it. This way
mackupthrows an error and-more important-does not backup the preferences for MonitorControl.Steps to reproduce
mackupviabrew install mackupmonitorcontrol(following the docs) at~/.mackup/monitorcontrol.cfgwithmackup backupExpected behavior
.plistfile without recreating it every time.plistfile, keep symlink status intactAnything else?
I know, this is not per se a bug with MonitorControl; more an unexpected behaviour with the
.plistfile. If this is better suited as a discussion post, please feel free to move it over. Thanks a lot for your consideration!Environment Information (please complete the following information)
@waydabber commented on GitHub (Sep 10, 2023):
MonitorControl is managing userdefaults via the normal system calls only so I am not sure what to do with this, but will leave it open, maybe somebody has an idea. :)
@olssonm commented on GitHub (Oct 1, 2023):
@wohfab Found this thread via Google. This doesn't seem to have anything to do with MonitorControl or the apps themselves, but rather how macOS Sonoma (and perhaps even latest Ventura) handles symlinks for plists and the like (broken). Many apps via Mackup are currently experiencing major issues. See https://github.com/lra/mackup/issues/1924
@wohfab commented on GitHub (Oct 1, 2023):
Oh, this is really good to know! Thanks for that link, @olssonm! I guess it's time to pause mackup for a while and see how fast this can be solved.