Hello!

I'd like to be able to run "hddtemp" <http://www.guzu.net/linux/hddtemp.php>
with "plain" user rights - ie. not with root
rights. What's to be done, so that this is
possible?

[EMAIL PROTECTED] ~ $ LC_ALL=C hddtemp /dev/hda
/dev/hda: Permission denied
[EMAIL PROTECTED] ~ $ ls -la /dev/hda
brw-rw----  1 root disk 3, 0 21. Jan 09:09 /dev/hda
[EMAIL PROTECTED] ~ $ id
uid=1000(alexander) gid=100(users)
Gruppen=4(adm),6(disk),10(wheel),16(cron),17(console),18(audio),19(cdrom),35(games),80(cdrw),100(users),250(portage),410(plugdev)
[EMAIL PROTECTED] ~ $ ls -la `which hddtemp`
-rwxr-xr-x  1 root root 27712 21. Jan 08:02 /usr/sbin/hddtemp

As you can see, I get the error message "Permission
denied" when I run "hddtemp /dev/hda". As you can
further see, the group disk has read-/write-access on
the device file. And lastly, you can see that my user
is member of the group "disk".

Why do I get the Permission denied error message? And
what's to be done?

I do NOT want to set hddtemp set-uid root.

Thanks a lot,

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list

Reply via email to