git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a681cb3
)
Should chdir after chroot
author
Steve Muir
<smuir@cs.princeton.edu>
Fri, 7 Oct 2005 18:39:24 +0000
(18:39 +0000)
committer
Steve Muir
<smuir@cs.princeton.edu>
Fri, 7 Oct 2005 18:39:24 +0000
(18:39 +0000)
python/vserver.py
patch
|
blob
|
history
diff --git
a/python/vserver.py
b/python/vserver.py
index
7d1364f
..
325e2e2
100644
(file)
--- a/
python/vserver.py
+++ b/
python/vserver.py
@@
-111,7
+111,8
@@
class VServer:
def __do_chroot(self):
- return os.chroot(self.dir)
+ os.chroot(self.dir)
+ os.chdir("/")
def set_disklimit(self, block_limit):