Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188633 Details for
Bug 203414
app-portage/gentoolkit < 0.2.4_rc6 Insecure temp file creation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revdep-rebuild_notmpdirchecks.patch
rr-nopermchecksontmp.diff (text/plain), 970 bytes, created by
michael@smith-li.com
on 2009-04-17 02:36:52 UTC
(
hide
)
Description:
revdep-rebuild_notmpdirchecks.patch
Filename:
MIME Type:
Creator:
michael@smith-li.com
Created:
2009-04-17 02:36:52 UTC
Size:
970 bytes
patch
obsolete
>Index: revdep-rebuild >=================================================================== >--- revdep-rebuild (revision 548) >+++ revdep-rebuild (working copy) >@@ -507,16 +507,9 @@ > # $1 - directory name > # $2 - user name > verify_tmpdir() { >- umask 007 || die $? "Unable to set umask 007" > if [[ ! $1 ]]; then > die 1 'Temporary file path is unset! (This is a bug.)' > elif [[ -d $1 ]]; then >- # HACK: I hate using find this way >- if [[ $(find "$1" -type d ! \( -user $2 -perm -0700 \) ) ]]; then >- eerror "Incorrect permissions on $1" >- eerror "or at least one file in $1." >- die 1 "Please make sure it's not a symlink and then remove it." >- fi > cd "$1" > else > die 1 "Unable to find a satisfactory location for temporary files ($1)" >@@ -536,7 +529,7 @@ > fi > > # From here on all work is done inside the temporary directory >- verify_tmpdir "$tmp_target" "$uid" >+ verify_tmpdir "$tmp_target" > WORKING_DIR="$tmp_target" > > if [[ $SEARCH_BROKEN ]]; then
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 203414
:
144400
|
144695
| 188633