Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217687 - busybox does not install with u+s bit set.
Summary: busybox does not install with u+s bit set.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 17:34 UTC by Joakim Tjernlund
Modified: 2008-04-14 21:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2008-04-14 17:34:50 UTC
ls -l /bin/busybox shows
-rwxr-xr-x 1 root root 869632 2008-01-21 18:37 /bin/busybox

I expected the the u+s bit should be there:
-rwsr-xr-x 1 root root 869632 2008-01-21 18:37 /bin/busybox
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2008-04-14 18:47:22 UTC
Dear Joakim, please clarify why you expect it to be setuid root and reopen this bug.
Comment 2 Joakim Tjernlund 2008-04-14 19:23:08 UTC
If a non root user wants to use busybox ping it needs
to be setuid root as ping opens a raw socket. I am sure there
are other cases too.
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2008-04-14 19:27:22 UTC
What would happen if a non-root user wanted to use busybox' rm as well? 

Anyway, passing to the embedded team.
Comment 4 Joakim Tjernlund 2008-04-14 19:34:32 UTC
busybox drops privs for those commands that doesn't need it.
Comment 5 solar (RETIRED) gentoo-dev 2008-04-14 20:13:13 UTC
Sorry Jocke but we wont be setting any setXid bits for busybox. If you need that 
functionality of bb please select the proper options in the .config and 
set the u+s bit locally.
Comment 6 Joakim Tjernlund 2008-04-14 21:09:01 UTC
OK good to know. I will fix it locally on our board.