From f9f260aa33662c0c88f9005185af396a92fc206e Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 3 May 2008 13:50:26 +0100 Subject: [PATCH] Disable Plash support when unpacking for now. Current versions of unzip and cpio use the fchmod command, which doesn't work under Plash at the moment. Therefore, Plash support has been disabled. --- zeroinstall/zerostore/unpack.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/zeroinstall/zerostore/unpack.py b/zeroinstall/zerostore/unpack.py index a44cdc3..57567a8 100644 --- a/zeroinstall/zerostore/unpack.py +++ b/zeroinstall/zerostore/unpack.py @@ -52,11 +52,13 @@ def recent_gnu_tar(): debug("Recent GNU tar = %s", recent_gnu_tar) return recent_gnu_tar -_pola_run = find_in_path('pola-run') -if _pola_run: - info('Found pola-run: %s', _pola_run) -else: - info('pola-run not found; archive extraction will not be sandboxed') +# Disabled, as Plash does not currently support fchmod(2). +_pola_run = None +#_pola_run = find_in_path('pola-run') +#if _pola_run: +# info('Found pola-run: %s', _pola_run) +#else: +# info('pola-run not found; archive extraction will not be sandboxed') def type_from_url(url): """Guess the MIME type for this resource based on its URL. Returns None if we don't know what it is.""" -- 2.11.4.GIT