Search
j0ke.net Open Build Service
>
Projects
>
server:mail
:
el
>
dcc
> dcc-chown.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File dcc-chown.patch of Package dcc
--- homedir/fix-map.in.orig 2019-06-05 14:20:55.000000000 +0200 +++ homedir/fix-map.in 2020-05-08 11:34:23.136792310 +0200 @@ -169,12 +169,12 @@ # make the files private chmod 0600 $MAPTXT $MAP $IDS -if test -n "@DCCSUID@" -a -z "$NO_SUID$PKG_MAKE" \ - && id "@DCCSUID@" >/dev/null 2>&1; then - chown "@DCCSUID@" $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log - for F in $DCC_HOMEDIR/whiteclnt $DCC_HOMEDIR/dcc_db $DCC_HOMEDIR/grey_db; do - if test -f $F; then - chown @DCCSUID@ $F - fi - done -fi +#if test -n "@DCCSUID@" -a -z "$NO_SUID$PKG_MAKE" \ +# && id "@DCCSUID@" >/dev/null 2>&1; then + #chown "@DCCSUID@" $MAPTXT $MAP $IDS $DCC_HOMEDIR $DCC_HOMEDIR/log + #for F in $DCC_HOMEDIR/whiteclnt $DCC_HOMEDIR/dcc_db $DCC_HOMEDIR/grey_db; do + #if test -f $F; then + # chown @DCCSUID@ $F + #fi + #done +#fi --- homedir/make-dcc_conf.in.orig 2019-05-23 04:35:45.000000000 +0200 +++ homedir/make-dcc_conf.in 2020-05-08 11:31:18.620792658 +0200 @@ -71,7 +71,7 @@ chmod 0644 $CUR$FORCE if test -n "@DCCSUID@" -a -z "$NO_SUID" -a -z "$PKG_MAKE"; then set +e # do not die if the user name is not in the passwd file - chown @DCCSUID@ $CUR$FORCE + #chown @DCCSUID@ $CUR$FORCE fi exit fi