You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your plugin, however it does not work in Ubuntu
dmidecode -s system-uuid
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
/dev/mem: Permission denied
My fix is
if(buf[0] == 0) {
rstream = popen("cat /etc/machine-id", "r");
fread(buf, sizeof(char), sizeof(buf), rstream);
pclose(rstream);
}
The text was updated successfully, but these errors were encountered:
nikitatg
added a commit
to nikitatg/platform_device_id
that referenced
this issue
Jun 29, 2022
Thank you for your plugin, however it does not work in Ubuntu
dmidecode -s system-uuid
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
/dev/mem: Permission denied
My fix is
if(buf[0] == 0) {
rstream = popen("cat /etc/machine-id", "r");
fread(buf, sizeof(char), sizeof(buf), rstream);
pclose(rstream);
}
The text was updated successfully, but these errors were encountered: