Page 1 of 1

Draktools does not start for user, but for root it does

PostPosted: Sep 11th, '11, 00:43
by petos
Hello,
I have this problem: after some update (really don't know what) I can not run any drak-tool under user. If I run sudo or switch to root, everything is working fine. I can not find why, because it does not provide any error message in console... Strange is, that even utilities avaible for common user, like drakuser or update windows doesn't appear.
Have anyone met this already? I was looking for the solution in bugs.mageia, here but I was not able to find anything.

Thanks Petos

Re: Draktools does not start for user, but for root it does

PostPosted: Sep 11th, '11, 10:36
by doktor5000
Well, none of those tools are executable by a user in a default install. F.ex. when you run drakuser as normal user,
a popup will appear asking you for the root password (the popup is from consolehelper-gtk).
Did you change the default authentification settings for the draktools?

BTW: what draktool would "update windows" be? One that replaces a windows install with Mageia? :)

Re: Draktools does not start for user, but for root it does

PostPosted: Sep 11th, '11, 11:54
by Akien
doktor5000 wrote:BTW: what draktool would "update windows" be? One that replaces a windows install with Mageia? :)

I guess that's mgaupdate :)

Still, I think is problem is not user right but that no windows are displayed.

Re: Draktools does not start for user, but for root it does

PostPosted: Sep 11th, '11, 12:03
by petos
draktool = /usr/bin/drak* ;)

I mean ANY draktool, neither draknetcenter or drakrpm-update, that should be runable under user account. Now I can see, that /usr/bin/consolehelper had wrong permissions: rwsr-sr-s, but it should have rwxr-xr-x. As I said before, I don't know, what program changed the permissions. :/ When I fixed permissions, everything was ok.

Re: Draktools does not start for user, but for root it does

PostPosted: Sep 11th, '11, 14:39
by doktor5000
Could you please show the output of
Code: Select all
rpm -V usermode-consoleonly usermode

Re: Draktools does not start for user, but for root it does

PostPosted: Sep 12th, '11, 07:43
by petos
Yes, but it gives me no output.

Re: Draktools does not start for user, but for root it does

PostPosted: Sep 12th, '11, 09:39
by doktor5000
OK, that's good, it means nothing has changed since you installed both packages. -V means --verify
Neither size nor permissions, nor content (checked by md5sum of each file) nothing has changed.

So you changed the permissions back to the defaults. Would be a good question what broke them in the first place ...

Re: Draktools does not start for user, but for root it does

PostPosted: Sep 14th, '11, 11:05
by petos
doktor5000 wrote:Would be a good question what broke them in the first place ...

Yes, it would be. At least if some one would have the same issue, he/she now knows, how to fix it. Thanks Doc. ;)