From c33ae312674eaa7269bd565470a306aef4b8a8ac Mon Sep 17 00:00:00 2001 From: age Date: Mon, 13 Aug 2007 22:35:16 +0000 Subject: [PATCH] * added ntfs write support via fuse (ntfs-3g) * manually downloaded ntfs-3g package for dfsbuild --- bin/CryptoBoxRootActions | 6 ++++++ debian/control | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/CryptoBoxRootActions b/bin/CryptoBoxRootActions index d3e7c2c..2525c3f 100755 --- a/bin/CryptoBoxRootActions +++ b/bin/CryptoBoxRootActions @@ -320,6 +320,12 @@ def run_mount(args): "-o", "uid=%d,gid=%d,umask=0000" % (trustUID, trustGID), device, destination ] + ## use fuse (ntfs-3g) for ntfs + elif fsType == "ntfs": + mount_args = [ allowedProgs["mount"], + "-t", "ntfs-3g", + device, + destination ] elif is_tmpfs: mount_args = [ allowedProgs["mount"], "-t", "tmpfs", diff --git a/debian/control b/debian/control index 070a6cd..f0a0145 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Package: cryptobox-server Architecture: any Pre-Depends: adduser Depends: python-central (>= 0.5.6), cryptsetup (>=20050111), e2fsprogs (>= 1.27), python (>=2.4), python-clearsilver, super, dosfstools, python-cherrypy, python-configobj, python-m2crypto -Suggests: samba, apache2, stunnel4 +Suggests: samba, apache2, stunnel4, ntfs-3g Replaces: cryptobox XB-Python-Version: ${python:Versions} Description: Web interface for an encrypting fileserver