Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 491120 Details for
Bug 629398
add QA warning for system executables writable by a non-root user
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
92bad-bin-group-write
92bad-bin-group-write (text/plain), 915 bytes, created by
Michael Orlitzky
on 2017-08-30 23:20:22 UTC
(
hide
)
Description:
92bad-bin-group-write
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2017-08-30 23:20:22 UTC
Size:
915 bytes
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >bad_bin_group_write_check() { > # Warn about globally-installed executables (in /bin, /usr/bin, /sbin, > # or /usr/sbin) that are group-writable by a non-root group. > local d f > > # We use ${D} instead of ${ED} to avoid false positives on prefix. > for d in "${D}/bin" "${D}/usr/bin" "${D}/sbin" "${D}/usr/sbin"; do > test -d "${d}" || continue > # Use -L to catch symlinks whose targets are vulnerable. > for f in $(find -L "${d}" -maxdepth 1 \ > -type f \ > -perm /g+w \ > ! -group root); do > # Strip off the leading ${D} before outputting the path. > f=$(echo "${f}" | sed -e "s:^${D}::") > eqawarn "system executable group-writable by non-root group: ${f}" > done > done >} > >bad_bin_group_write_check >:
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 Raw
Actions:
View
Attachments on
bug 629398
:
491116
|
491120
|
491158
|
491160
|
492914
|
492916
|
540992
|
540994
|
541712
|
541714