CodethinkLabs / sandboxlib

Sandboxing library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chroot backend should allow relative paths for 'cwd'

ssssam opened this issue · comments

It seems that passing a relative path to os.chdir() after calling os.chroot() doesn't work how I thought it would, probably because os.chroot() doesn't automatically change the working directory to inside the chroot, unlike the chroot program.

This causes devcurmudgeon/ybd#84

Fixed in sandboxlib 0.3.1