kcheckpass setuid

Oswald Buddenhagen ossi at kde.org
Fri Oct 26 18:40:44 CEST 2007


On Fri, Oct 26, 2007 at 06:30:52PM +0200, Alexander Neundorf wrote:
> On Friday 26 October 2007, Oswald Buddenhagen wrote:
> > the root of the evil is this line in kcheckpass's cmakelists:
> >
> > install(TARGETS kcheckpass DESTINATION ${BIN_INSTALL_DIR} PERMISSIONS
> > SETUID OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ
> > WORLD_EXECUTE WORLD_READ)
> >
> > cmake fails to chown - of course - but does not abort and simply goes on
> > with the chmod to setuid. of course, the result is complete nonsense.
> 
> I think you are slightly wrong here.
> CMake doesn't *fail* to chown, it doesn't chown *at all*.
>
oh, right, i'm an idiot. :}

> -file a feature request at www.cmake.org/Bug
>
yup

> -add a post install command which does the chown (chmod is already done)
> 
i'll simply commit my path. it does The Right Thing (TM).

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.


More information about the Kde-buildsystem mailing list