Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
sophos-av
> sophos-permission.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sophos-permission.patch of Package sophos-av (Revision 9)
Currently displaying revision
9
,
show latest
--- install.sh.orig 2008-07-11 22:18:52.000000000 +0200 +++ install.sh 2008-07-11 22:37:56.000000000 +0200 @@ -44,9 +44,9 @@ if [ "$6" = "" ]; then fechomess 1 t "$copiedText" "$1" "$2" fi - [ "$3" ] && VAchmod $3 $2 - [ "$4" ] && VAchown $4 $2 - [ "$5" ] && VAchgrp $5 $2 + #[ "$3" ] && VAchmod $3 $2 + #[ "$4" ] && VAchown $4 $2 + #[ "$5" ] && VAchgrp $5 $2 } VAmv() { @@ -91,9 +91,9 @@ ferror createDirErr "$1" fi fi - [ "$2" ] && VAchmod $2 $1 - [ "$3" ] && VAchown $3 $1 - [ "$4" ] && VAchgrp $4 $1 + #[ "$2" ] && VAchmod $2 $1 + #[ "$3" ] && VAchown $3 $1 + #[ "$4" ] && VAchgrp $4 $1 } VAln() { @@ -978,23 +978,23 @@ - chown $sweep_user /tmp/sav_install.$$ >/dev/null 2>&1 - if [ $? -ne 0 ]; then - - - if chown root /tmp/sav_install.$$ >/dev/null 2>&1; then - - ferror SweepUserErr "$sweep_user" - else - - ferror UserPermissionErr - fi - fi + #chown $sweep_user /tmp/sav_install.$$ >/dev/null 2>&1 + #if [ $? -ne 0 ]; then + # + # + # if chown root /tmp/sav_install.$$ >/dev/null 2>&1; then + # + # ferror SweepUserErr "$sweep_user" + # else + # + # ferror UserPermissionErr + # fi + #fi - if ! chgrp $sweep_user /tmp/sav_install.$$ >/dev/null 2>&1; then + #if ! chgrp $sweep_user /tmp/sav_install.$$ >/dev/null 2>&1; then - ferror SweepGroupErr "$sweep_group" - fi + # ferror SweepGroupErr "$sweep_group" + #fi fi if [ ! "$savi_only" ]; then