Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow non-sudo for UI actions when in container #903

@daredoes

Description

@daredoes

Iris version

3.66.1

Operating system(s) affected

  • Windows
  • MacOS
  • iOS
  • Android
  • Linux
  • Other

Browser(s) affected

  • Firefox
  • Chrome
  • Edge
  • Other

What happened?

When any button in the UI is pressed to trigger actions in system.sh, the call fails when sudo is not available due to line 28 in system.py.

It should be something like this

    _USE_SUDO = not os.path.exists('/IS_CONTAINER')

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions