FreeBSD Bugzilla – Attachment 115358 Details for
Bug 157129
[maintainer] misc/findutils fix usage of su(1) in gupdatedb
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-locate__updatedb.sh
patch-locate__updatedb.sh (text/plain), 1.25 KB, created by
Klaus Aehlig
on 2011-05-17 22:20:08 UTC
(
hide
)
Description:
patch-locate__updatedb.sh
Filename:
MIME Type:
Creator:
Klaus Aehlig
Created:
2011-05-17 22:20:08 UTC
Size:
1.25 KB
patch
obsolete
>--- locate/updatedb.sh.orig 2011-04-03 23:53:12.000000000 +0100 >+++ locate/updatedb.sh 2011-05-17 18:20:29.000000000 +0100 >@@ -250,7 +250,7 @@ > if test -n "$SEARCHPATHS"; then > if [ "$LOCALUSER" != "" ]; then > # : A1 >- su $LOCALUSER `select_shell $LOCALUSER` -c \ >+ su -m $LOCALUSER -c \ > "$find $SEARCHPATHS $FINDOPTIONS \ > \\( $prunefs_exp \ > -type d -regex '$PRUNEREGEX' \\) -prune -o $print_option" >@@ -266,7 +266,7 @@ > myuid=`getuid` > if [ "$myuid" = 0 ]; then > # : A3 >- su $NETUSER `select_shell $NETUSER` -c \ >+ su -m $NETUSER -c \ > "$find $NETPATHS $FINDOPTIONS \\( -type d -regex '$PRUNEREGEX' -prune \\) -o $print_option" || > exit $? > else >@@ -319,7 +319,7 @@ > if test -n "$SEARCHPATHS"; then > if [ "$LOCALUSER" != "" ]; then > # : A5 >- su $LOCALUSER `select_shell $LOCALUSER` -c \ >+ su -m $LOCALUSER -c \ > "$find $SEARCHPATHS $FINDOPTIONS \ > \( $prunefs_exp \ > -type d -regex '$PRUNEREGEX' \) -prune -o $print_option" || exit $? >@@ -335,7 +335,7 @@ > myuid=`getuid` > if [ "$myuid" = 0 ]; then > # : A7 >- su $NETUSER `select_shell $NETUSER` -c \ >+ su -m $NETUSER -c \ > "$find $NETPATHS $FINDOPTIONS \\( -type d -regex '$PRUNEREGEX' -prune \\) -o $print_option" || > exit $? > else
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 157129
: 115358