python-fuse ignores mount options

Bug #65491 reported by Rumpeltux
2
Affects Status Importance Assigned to Milestone
python-fuse (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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

Rumpeltux (rumpeltux)
description: updated
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

does this still occur in gutsy?

There looks to have been a few releases since then.

Changed in python-fuse:
status: Unconfirmed → Needs Info
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-fuse (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.