Skip to content
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

[FEATURE] allow to skip packages with permission elevation #194

Open
jonsch318 opened this issue Jan 22, 2025 · 0 comments
Open

[FEATURE] allow to skip packages with permission elevation #194

jonsch318 opened this issue Jan 22, 2025 · 0 comments

Comments

@jonsch318
Copy link

Is your feature request related to a problem? Please describe.
Some packages of mine are located at /etc... as root. But I do not always want to elevate dotter permission when deploying because most of the time I don't change these packages

Describe the solution you'd like
There are a couple different solutions to this:

  1. The first easiest is a new flag -skip-elevating-packages on the cli so that packages with a specified owner can or should be skipped
  2. dotter could be smarter when deploying. If the package has not changed (and dotter is allowed to read it) do not elevate. Else either throw and error if not allowed to elevate or elevate permissions

One sidenote
We could also try to implement polkit integration as an optional setting to elevate permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant