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

sudo -g disk autopsy not working #7919

Open
mara004 opened this issue Sep 26, 2024 · 0 comments
Open

sudo -g disk autopsy not working #7919

mara004 opened this issue Sep 26, 2024 · 0 comments

Comments

@mara004
Copy link

mara004 commented Sep 26, 2024

The snap readme recommends starting autopsy via sudo -g disk autopsy to give permission to local disks, without running the whole program as root or adding the user to disk (both of which can be seen as problematic).

However, On Fedora 37, sudo -g disk autopsy raises the following error:

Sorry, user $USER is not allowed to execute '/var/lib/snapd/snap/bin/autopsy' as $USER:disk on fedora.fritz.box.

Note, I confirmed the group is called disk via ll /dev |grep sda

brw-rw----. 1 root   disk      8,   0 Sep 26 18:24 sda
brw-rw----. 1 root   disk      8,   1 Sep 26 18:24 sda1
brw-rw----. 1 root   disk      8,   2 Sep 26 18:24 sda2
brw-rw----. 1 root   disk      8,   3 Sep 26 18:24 sda3

Is there a fix, or an alternative way to (safely) grant autopsy the relevant 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