On 2014-05-09 11:26, oznelig wrote:
> I downloaded them, and then I used rpm to install it :
> rpm -ivh -WkRt—Lin64—6.0.501-1-.-x86_64.rpm
> My machine wouldn’t let me, I no longer have the error, but it was
> something to do with permisisons.
> So I installed it as root. No errors.
Well, you can not install any rpm without being root.
A comment: When pasting here computer commands and such, please use a
CODE BLOCK, so that the forum software doesn’t do silly things like
converting URLS to tiny urls or otherwise hide or alter the commands you
entered. You get them by clicking on the ‘#’ button in the forum editor.
And… We also like to see everything, from the command prompt with the
command that you are running and the complete output to the next prompt
- so that we know exactly what your are doing
> The problem is that now, when I check with :
> -./lmutil lmhostid -flexid
> it says that there’s no dongle inserted, unless I’m root.
> Clearly the drivers have been installed with permissions for root only.
> How do I change them to normal user ?
> I can see the device being inserted when I type dmesg but that doesn’t
> give me any
> clues. I can also see it when I probe the hardware from YAST but there’s
> I can see regarding access permissions.
Well, you would have to ask the people that made that code. However, it
is not clear where you are getting the permission problem, because I
don’t know what that “lmutil” is. If it is a code to activate the
dongle, it is possibly designed to work as root. Maybe it needs that a
certain device file (in /dev) gets permissions for the user; if it needs
to, and doesn’t, it is usually that the device creation rules are wrong.
You may change those permissions, but the directory is volatile.
You could make that app suid, or call it via sudo.
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))