On 10/27/23 19:36, Samuel Sieb wrote:
On 10/27/23 18:29, ToddAndMargo via users wrote:
Hi All,

Fedora 38

Any way to get this info without being root?

Many thanks,
-T


# nvme smart-log /dev/nvme0n1

Have a root cron job dump it to a file?

Hmmmmm.

The device node is only accessible to root, so there's no way around that.
You could give your user sudo access for that command.

Do not like sudo, but I may have to compromise.

You haven't said why needing root is a problem.

Run as a user:

$ nvme smart-log /dev/nvme0n1
/dev/nvme0n1: Permission denied

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to