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

permission error #856

Closed
ppascher opened this issue Dec 7, 2023 · 1 comment · Fixed by #857
Closed

permission error #856

ppascher opened this issue Dec 7, 2023 · 1 comment · Fixed by #857
Assignees
Labels

Comments

@ppascher
Copy link

ppascher commented Dec 7, 2023

After updating from 0.10.6 to 0.10.7 I receive errors when using snapborg. Manually executing the command snapborg uses ( snapper -c home --jsonout get-config) results in an extra line "No permissions" added when running as a regular user even though that user/group is added to the snapper config in "ALLOW_USERS" and "ALLOW_GROUPS":

snapper -c home --jsonout get-config
{
  "ALLOW_GROUPS": "<usergroup>",
  "ALLOW_USERS": "<username>",
  "BACKGROUND_COMPARISON": "yes",
  "EMPTY_PRE_POST_CLEANUP": "yes",
  "EMPTY_PRE_POST_MIN_AGE": "1800",
  "FREE_LIMIT": "0.2",
  "FSTYPE": "btrfs",
  "NUMBER_CLEANUP": "yes",
  "NUMBER_LIMIT": "50",
  "NUMBER_LIMIT_IMPORTANT": "10",
  "NUMBER_MIN_AGE": "1800",
  "QGROUP": "",
  "SPACE_LIMIT": "0.5",
  "SUBVOLUME": "/home",
  "SYNC_ACL": "yes",
  "TIMELINE_CLEANUP": "yes",
  "TIMELINE_CREATE": "yes",
  "TIMELINE_LIMIT_DAILY": "5",
  "TIMELINE_LIMIT_HOURLY": "6",
  "TIMELINE_LIMIT_MONTHLY": "3",
  "TIMELINE_LIMIT_WEEKLY": "4",
  "TIMELINE_LIMIT_YEARLY": "2",
  "TIMELINE_MIN_AGE": "1800"
}
No Permissions.

Downgrading to 0.10.6 and everything works again. "No permissions" is not printed anymore.

@aschnell aschnell self-assigned this Dec 7, 2023
@aschnell aschnell added the bug label Dec 7, 2023
@aschnell
Copy link
Member

aschnell commented Dec 8, 2023

Thanks for reporting the problem. The permission check for the new DBus GetPluginsReport function is wrong. So you will not see whether plugins reported an error (just like it has been for a decade already). That should be all.

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

Successfully merging a pull request may close this issue.

2 participants