fwts snap: unclear error message "cannot open results log 'results'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fwts (Ubuntu) |
Fix Released
|
Medium
|
Ivan Hu |
Bug Description
I have the riscv64 snap fwts V23.09.00 installed on Ubuntu Mantic.
$ sudo /snap/bin/fwts --ebbr
/snap/fwts/
Files result and results.log does not exist in the current directory.
In /var/log/kern.log I find this entry:
2023-09-
$ uname -a
Linux workstation 6.2.0-24-generic #24.1-Ubuntu SMP Fri Jun 23 00:35:17 UTC 2023 riscv64 riscv64 riscv64 GNU/Linux
The current drive is mounted as
/dev/nvme1n1p2 on /home type ext4 (rw,nosuid,
After
$ sudo touch results.log
I can run fwts.
It does not work with a chmod 666 results.log that is not owned by root.
It seems that the restrictions for the snap are a bit tight.
description: | updated |
Changed in fwts (Ubuntu): | |
assignee: | nobody → Ivan Hu (ivan.hu) |
importance: | Undecided → Medium |
status: | New → In Progress |
Without sudo it works fine in my home directory.
So these questions remain:
Could the error message say 'results.log' and not 'results'? This would require moving the error message to fwts_log_open().
Could the fwts snap indicate that you have to run it in your home directory?
Best regards
Heinrich