[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: brightd

On Thu, 26 Apr 2007 12:38:49 -0500 Luis Rodrigo Gallardo Cruz wrote:

> > Hm, could you explain that a bit more? I need the binary setuid-root,
> > so $USER is able to write to /sys/class/backlight/
> > I previously used install -M 4755 in debian/rules, but this did not
> > work, because I don't build as root : (
> Oh, ok. Well, packages *need* to be built as root, precisely so that
> they can have any set of needed ownerships and permissions. You can
> use fakeroot to do the build.

I _USE_ fakeroot.
And after the install /usr/bin/brightd is 0755, because only root (and
not fakeroot) can setuid - if this would not be like this, everyone
could create suidroot binaries...
So can I just chmod in debian/rules and hope the package will be
rebuild as root on the buildds?

   ^^^    | Evgeni -SargentD- Golov (sargentd@die-welt.net)
 d(O_o)b  | GPG/PGP-Key-ID: 0xAC15B50C
  >-|-<   | 0C04 F872 0963 ADC9 AA83 882B 24A0 1418 AC15 B50C
   / \    | http://www.die-welt.net - sargentd@jabber.die-welt.net

Reply to: