dotter
dotter copied to clipboard
[FEATURE] allow to skip packages with permission elevation
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:
- 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
- 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.