Skip to content

Access to jtop.service by non root users #631

Open
@dirksavage88

Description

@dirksavage88

Describe the bug

As a non root user, jtop is installed on my system at "/usr/local/bin/jtop"

Even if I create a symbolic link at a folder with ownership "~/.local/bin" I cannot execute jtop without sudo permissions. This is not an issue in itself unless running something else that calls jtop (such as the nanosaur cli) where running the nanosaur cli commands as "sudo" can become problematic.

Effectively non-root users should not have this much trouble running jtop

To Reproduce

Steps to reproduce the behavior:

  1. install jetson status via pip
  2. Attempt to run jtop without sudo permissions

Screenshots

jetson-xavier-nx-devkit-tx2-nx:~$ systemctl --user | grep jtop
jetson-xavier-nx-devkit-tx2-nx:~$ jtop
I can't access jtop.service.
Please logout or reboot this board.

Jetson os-release

jetson-xavier-nx-devkit-tx2-nx:~$ cat /etc/os-release 
ID=tegrademo
NAME="OE4Tegra Demonstration Distro"
VERSION="4.0.24+snapshot-65d58821e0496c90594176fdb2ef2c240f86bcd9 (kirkstone-l4t-r32.7)"
VERSION_ID=4.0.24-snapshot-65d58821e0496c90594176fdb2ef2c240f86bcd9
PRETTY_NAME="OE4Tegra Demonstration Distro 4.0.24+snapshot-65d58821e0496c90594176fdb2ef2c240f86bcd9 (kirkstone-l4t-r32.7)"
DISTRO_CODENAME="kirkstone-l4t-r32.7"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions