Magellan Linux

Contents of /trunk/sandboxshell/patches/sandboxshell-1.1-add-home-and-trap-support.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 755 byte(s)
-import

1 --- sandboxshell-1.1/sandboxshell/sandboxshell.conf 2004-05-12 19:08:21.000000000 +0000
2 +++ /home/tjoke/download/sandboxshell.conf 2005-10-28 17:40:19.000000000 +0000
3 @@ -1,7 +1,9 @@
4 #!/bin/bash
5 # Written by vapier@gentoo.org
6 # public-domain code ... z0r ...
7 # $Header: /root/magellan-cvs/src/sandboxshell/patches/sandboxshell-1.1-add-home-and-trap-support.patch,v 1.1 2007-05-08 20:34:20 niro Exp $
8 +
9 +trap ":" INT QUIT TSTP
10
11 source /etc/profile
12
13 @@ -30,7 +32,7 @@
14 sbs_PREPWD=${PWD}
15 if [ "${env}" == "y" ] ; then
16 source ${sbs_tmpenvfile} 2> /dev/null
17 - export SANDBOX_WRITE="${SANDBOX_WRITE}:${sbs_pdir}${sbs_bdir}"
18 + export SANDBOX_WRITE="${SANDBOX_WRITE}:${sbs_pdir}${sbs_bdir}:${sbs_pdir}/homedir"
19 fi
20 PWD=${sbs_PREPWD}
21 fi