Skip to content

[BUG]: Cannot save custom polkit action under /usr which is readonly #1413

Description

@septatrix

What happened?

The following code tries to create a new polkit action under /usr/share/polkit-1/actions/. However, the whole of /usr is readonly on my immutable distro.

"/usr/share/polkit-1/actions/%s", policyFilename);

Intead, the file should be put under /etc/polkit-1/actions/

Version

2.0.2 (Default)

What host operating system were you using?

Other Linux environment

Host OS Version

Based on Fedora 43

Selected OS

Any

Which Raspberry Pi Device are you using?

Raspberry Pi 4B, 400, and Compute Modules 4, 4S

What kind of storage device are you using?

microSD Card in an internal reader

OS Customisation

  • Yes, I was using OS Customisation when the bug occurred.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdistro issueIssues specific to a Linux Distro, that may or may not be related to Imager.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions