Public bug reported:

Well, the script reads mount-options from commandline and saves them in
__init__() in an array optlist and dictionary optdict.

But when setting the kopts and forwarding them to fuse, these options
are ignored. But at least two options can be specified for the class-
instance.

        k=[]
        if hasattr(self,'allow_other'):
                k.append('allow_other')

        if hasattr(self,'kernel_cache'):
                k.append('kernel_cache')

This should be changed to something like:
  k = self.optlist
  for opt in self.optdict:
    k.append('%s=%s' % (opt, self.optdict[opt]))

-- as found in current dapper release of python2.4-fuse

** Affects: python-fuse (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

** Description changed:

  Well, the script reads mount-options from commandline and saves them in
  __init__() in an array optlist and dictionary optdict.
  
  But when setting the kopts and forwarding them to fuse, these options
  are ignored. But at least two options can be specified for the class-
  instance.
  
          k=[]
          if hasattr(self,'allow_other'):
                  k.append('allow_other')
  
          if hasattr(self,'kernel_cache'):
                  k.append('kernel_cache')
  
  This should be changed to something like:
    k = self.optlist
    for opt in self.optdict:
      k.append('%s=%s' % (opt, self.optdict[opt]))
+ 
+ -- as found in current dapper release of python2.4-fuse

-- 
python-fuse ignores mount options
https://launchpad.net/bugs/65491

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to