[Bug 228306] Re: Cannot get hard drive temperature as non root user with hddtemp in hardy
footer
footer at gmail.com
Fri May 1 13:03:55 UTC 2009
I can confirm that upgrading to Kubuntu 9.04 broke hddtemp (only able to
run as root). And I did NOT have the sticky bit set before the upgrade
(but it was working fine before the upgrade):
footer at kubuntu64:/usr/sbin$ ll hdd*
-rwxr-xr-x 1 root root 31928 2008-11-06 08:56 hddtemp
Setting the sticky bit as suggested did fix the issue and I'm able to
get hddtemp as a non-root user:
footer at kubuntu64:/usr/sbin$ sudo chmod u+s /usr/sbin/hddtemp
footer at kubuntu64:/usr/sbin$ ll hdd*
-rwsr-xr-x 1 root root 31928 2008-11-06 08:56 hddtemp
footer at kubuntu64:/usr/sbin$ hddtemp /dev/sda | cut -f3 -d:
37°C
I don't really think setting the sticky bit is the solution but whatever
works!
--
Cannot get hard drive temperature as non root user with hddtemp in hardy
https://bugs.launchpad.net/bugs/228306
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list