jail and files.list, jail_user.sh

dangul

Verified User
Joined
Nov 17, 2008
Messages
34
Location
Sweden
We are running Debian for DA and I have to do some modifications into jail_user.sh for the jail to be working:

around line 96:
mkdir -p $USER_HOME/dev

around line 98:
PERL_VERSION=`perl -v | awk '/perl,/ { print $4 }' | awk '{ FS="v" ; print $2 }'`

around line 117:
if [ -e /lib/tls/i686 ]; then
mkdir -p $USER_HOME/lib/tls/i686
mkdir -p $USER_HOME/lib/tls/i686/cmov
mkdir -p $USER_HOME/usr/lib/i686/cmov
mkdir -p $USER_HOME/etc/httpd/lib/
fi

and added some extra bin into files.list...

My problem is that everytime I upgrade DA throu custombuild this files changes back to orginal... Is there any idea like a directory custom or something else that prohibit this files tobe changed???

Thanks
Daniel
 
I wouldnt see why you would it would just not be able to overwrite the file.
 
Back
Top