Bug 125932
Summary: | Accesses /root/.themes and maybe other things under /root | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Russell Coker <russell> |
Component: | rhgb | Assignee: | Ray Strode [halfline] <rstrode> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | k.georgiou, mattdm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-10-25 20:04:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 133471 |
Description
Russell Coker
2004-06-14 10:59:24 UTC
Hum, looking at it a bit, it's hard. This would require running rhgb under a different account than root, and this is a significant change, Daniel I think that the best option is to modify the programs in question to determine a configuration directory by a method other than calling getpwuid(getuid()). One possibility is using $HOME which could trivially be set to another value. Another possibility is to have an environment variable to specify the location ($GNOME_CONFIG maybe?), this could be useful for many things other than solving this problem. I agree that running rhgb as non-root is not the correct solution. it's not possible, the lookup is done in gtk libraries it would require a specific extension to gtk+ . It does not use $HOME , but getpwent() . Relying on a gtk+ enhancement is one way, I would first look at running it as nobody instead, using setreuid() once X has been started, this will be a pain because we will need to umount the filesystem too, I'm not sure it will really work with gtk+ anyway. Daniel Seen your depend on bug, this is unlikely to get fixed on time for FC3 honnestly. Especially if there is a gtk+ change involved ! Daniel Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match. Closed per above message and lack of response. Note that FC2 is not even supported by Fedora Legacy currently. |