Re: [opensuse] opensuseupdate setuid problem

2007-03-12 Thread Joe Morris (NTM)
Herbert Graeber wrote:
> On two machines I have installed the same zypper package (0.6.15-0.1).
>
> On machine one the setuid bit is not set an machine two is set. On both 
> machines "rpm -V zypper" gives no messages.
>
> Now I entered "chmod u+s /usr/sbin/zypp-checkpatches-wrapper" and "rpm -V 
> zypper" prints "/usr/sbin/zypp-checkpatches-wrapper should be root:root 0755. 
> (wrong permissions 4755)".
>
> Where does this difference come from?
>
>   
Not sure on that, but the perms are different depending n your security
settings, and SuSEconfig will correct the perms depending on your
setting.  If it is set to easy, it is set to 4755 and works.  If set to
secure (my preference) it is reset to 755 and does not work, but they do
provide a great clue in the error message.  Mine is set to 4755 via
permissions.local and rpm -V has no problems with zypper.

-- 
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] opensuseupdate setuid problem

2007-03-12 Thread Herbert Graeber
Am Montag, 12. März 2007 schrieb davidr:
> On Sunday 11 Mar 2007, Joe Morris (NTM) wrote:
> > davidr wrote:
> > > The opensuseupdater icon always shows a yellow triangle, hovering over
> > > the icon reports
> > >
> > > error :
> > > helper program returned
> > > setuid operation not permitted
> > > forget to chmod this program?
> > >
> > > anyone any idea as to how to fix this?
> >
> > At least the error message is very helpful. :-)   You have chosen secure
> > for your security model instead of easy, which changes the permissions
> > of /usr/sbin/zypp-checkpatches-wrapper.  You need to add
> > "/usr/sbin/zypp-checkpatches-wrapper  root.root    4755" to your
> > /etc/permissions.local file (make sure you end this line with an enter,
> > i.e new line).  Then run SuSEconfig.  This makes the fix permanent,
> > otherwise the perms would be reset by SuSEconfig.
>
> I was wondering why it has stopped working... thanks for the explanation.

I am wondering, too.

On two machines I have installed the same zypper package (0.6.15-0.1).

On machine one the setuid bit is not set an machine two is set. On both 
machines "rpm -V zypper" gives no messages.

Now I entered "chmod u+s /usr/sbin/zypp-checkpatches-wrapper" and "rpm -V 
zypper" prints "/usr/sbin/zypp-checkpatches-wrapper should be root:root 0755. 
(wrong permissions 4755)".

Where does this difference come from?

Cheers,
Herbert
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] opensuseupdate setuid problem

2007-03-12 Thread davidr

On Sunday 11 Mar 2007, Joe Morris (NTM) wrote:
> davidr wrote:
> > The opensuseupdater icon always shows a yellow triangle, hovering over
> > the icon reports
> >
> > error :
> > helper program returned
> > setuid operation not permitted
> > forget to chmod this program?
> >
> > anyone any idea as to how to fix this?
>
> At least the error message is very helpful. :-)   You have chosen secure
> for your security model instead of easy, which changes the permissions
> of /usr/sbin/zypp-checkpatches-wrapper.  You need to add
> "/usr/sbin/zypp-checkpatches-wrapper  root.root4755" to your
> /etc/permissions.local file (make sure you end this line with an enter,
> i.e new line).  Then run SuSEconfig.  This makes the fix permanent,
> otherwise the perms would be reset by SuSEconfig.


I was wondering why it has stopped working... thanks for the explanation.  

D.


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] opensuseupdate setuid problem

2007-03-11 Thread Joe Morris (NTM)
davidr wrote:
> The opensuseupdater icon always shows a yellow triangle, hovering over the 
> icon reports
>
> error :
> helper program returned
> setuid operation not permitted
> forget to chmod this program?
>
> anyone any idea as to how to fix this?
>   
At least the error message is very helpful. :-)   You have chosen secure
for your security model instead of easy, which changes the permissions
of /usr/sbin/zypp-checkpatches-wrapper.  You need to add
"/usr/sbin/zypp-checkpatches-wrapper  root.root4755" to your
/etc/permissions.local file (make sure you end this line with an enter,
i.e new line).  Then run SuSEconfig.  This makes the fix permanent,
otherwise the perms would be reset by SuSEconfig.

-- 
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] opensuseupdate setuid problem

2007-03-11 Thread davidr

On Sunday 11 Mar 2007, Marcus Meissner wrote:
> On Sun, Mar 11, 2007 at 06:43:18PM -0400, davidr wrote:
> > The opensuseupdater icon always shows a yellow triangle, hovering over
> > the icon reports
> >
> > error :
> > helper program returned
> > setuid operation not permitted
> > forget to chmod this program?
> >
> > anyone any idea as to how to fix this?
>
> /usr/sbin/zypp-checkpatches-wrapper should be setuid root.
>
> Ciao, Marcus

thanks that fixed it


speed of response is very impressive!

 
D.




___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] opensuseupdate setuid problem

2007-03-11 Thread Marcus Meissner
On Sun, Mar 11, 2007 at 06:43:18PM -0400, davidr wrote:
> 
> The opensuseupdater icon always shows a yellow triangle, hovering over the 
> icon reports
> 
> error :
> helper program returned
> setuid operation not permitted
> forget to chmod this program?
> 
> anyone any idea as to how to fix this?

/usr/sbin/zypp-checkpatches-wrapper should be setuid root.

Ciao, Marcus
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] opensuseupdate setuid problem

2007-03-11 Thread davidr

The opensuseupdater icon always shows a yellow triangle, hovering over the icon 
reports

error :
helper program returned
setuid operation not permitted
forget to chmod this program?

anyone any idea as to how to fix this?




  

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]