Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 30199 Details for
Bug 49224
ebuild.sh sfperms enhancement
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild.sh.diff
ebuild.sh.diff (text/plain), 842 bytes, created by
Cory Visi (RETIRED)
on 2004-04-27 17:28:46 UTC
(
hide
)
Description:
ebuild.sh.diff
Filename:
MIME Type:
Creator:
Cory Visi (RETIRED)
Created:
2004-04-27 17:28:46 UTC
Size:
842 bytes
patch
obsolete
>--- ebuild.sh.orig 2004-04-27 19:33:49.180441698 -0400 >+++ ebuild.sh 2004-04-27 20:27:53.209552526 -0400 >@@ -848,15 +848,16 @@ > > # Smart FileSystem Permissions > if has sfperms $FEATURES; then >- for i in $(find ${IMAGE}/ -type f -perm -4000); do >- ebegin ">>> SetUID: [chmod go-r] $i " >- chmod go-r "$i" >- eend $? >- done >- for i in $(find ${IMAGE}/ -type f -perm -2000); do >- ebegin ">>> SetGID: [chmod o-r] $i " >- chmod o-r "$i" >- eend $? >+ for i in $(find ${IMAGE}/ -type f -a \( -perm -4100 -o -perm -4010 -o -perm -4001 -o -perm -2100 -o -perm -2010 -o -perm -2001 \)); do >+ if [ "`file "$i" | grep \ script\ `" = "" ]; then >+ ebegin ">>> SetUID/SetGID: [chmod -rw] $i " >+ chmod -rw "$i" >+ eend $? >+ else >+ ebegin ">>> SetUID/SetGID: [chmod -w] $i " >+ chmod -w "$i" >+ eend $? >+ fi > done > fi >
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 49224
:
30197
| 30199