Comment 2 for bug 890389

Revision history for this message
Stéphane Graber (stgraber) wrote :

Does the following diff fix it for you?

=== modified file 'arkose/__init__.py'
--- arkose/__init__.py 2011-10-29 16:41:22 +0000
+++ arkose/__init__.py 2011-11-14 21:06:28 +0000
@@ -264,9 +264,6 @@
                         os.mkdir(os.path.dirname(new_target))
                     open(new_target, 'w').close()
             self.__mount("/%s" % mount, new_target, "none", "bind")
- if os.path.isdir("/%s" % mount):
- os.chmod(new_target, 0o700)
- os.chown(new_target, 1000, 1000)

         # Setup other restricted mounts
         for mount in self.restrict: