Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 76588 Details for
Bug 68612
etc-update: force root priviledges
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds a check for UID 0
etc-update-UID-check.patch (text/plain), 357 bytes, created by
Alec Warner
on 2006-01-08 21:47:22 UTC
(
hide
)
Description:
Adds a check for UID 0
Filename:
MIME Type:
Creator:
Alec Warner
Created:
2006-01-08 21:47:22 UTC
Size:
357 bytes
patch
obsolete
>--- /usr/sbin/etc-update 2006-01-04 21:29:27.000000000 -0500 >+++ etc-update 2006-01-09 00:45:58.263085400 -0500 >@@ -372,6 +372,10 @@ > > trap die term > >+if [[ $UID != "0" ]] ; then >+ die "$0 must be run with UID 0 ( aka root privilages )." -1 >+fi >+ > export PORTAGE_TMPDIR=$(/usr/lib/portage/bin/portageq envvar PORTAGE_TMPDIR) > > TMP="${PORTAGE_TMPDIR}/$$"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 68612
: 76588