Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1490 - setuid setgid bits failing in the travel through the sandbox
Summary: setuid setgid bits failing in the travel through the sandbox
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-03 05:33 UTC by Seemant Kulleen (RETIRED)
Modified: 2011-10-30 22:17 UTC (History)
0 users

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 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-03 05:33:01 UTC
Daniel,

jnelson and I noticed that setgid/setuid bits are not getting set  in the live
filesystem.  In fact portage explicitly complains.  See this opera emerge:

--- /usr/share/pixmaps/
>>> /usr/share/pixmaps/opera.xpm
!!! couldn't set uid/gid on /usr/share/opera/styles/OPF.css


This would also explain why  users new to 1.0 are having trouble with startx
when they are not root -- because the xserver needs to be setuid root.
Comment 1 Geert Bevin 2002-04-03 06:10:24 UTC
I subscribe to this. I've been searching for hours to see why all of a sudden I
couldn't su from a regular user to root anymore. Turned out that /bin/su wasn't
installed with the suid flag.
Comment 2 Geert Bevin 2002-04-03 08:27:09 UTC
btw this has nothing to do with the sandbox since it happens even when it's disabled
Comment 3 Geert Bevin 2002-04-03 08:28:48 UTC
this has nothing to do with the setting of the uid/gid imho, the suid flags are
just not applied in the move file function
Comment 4 Geert Bevin 2002-04-03 09:24:09 UTC
fixed the suid/guid bug and release portage 1.8.11.1 since it such a critical issue