flying-circus / pyfilesystem

Automatically exported from code.google.com/p/pyfilesystem
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

MountFS bugs when accessing the root path without anything mounted #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I've encountered some bugs with MountFS when nothing is mounted. This scenario 
is already being handled by some methods, but there are others that break and 
say that the directory doesn't exist. The MountFS methods I have had issues 
with are: getinfo, getxattr, ilistdir. There appear to be more that could have 
problems, but I haven't seen them getting called.

I have attached a diff containing a unit test and some potential fixes.

By the way, thanks for the interesting library!

Raymond

Original issue reported on code.google.com by rand...@gmail.com on 9 Sep 2013 at 5:05

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch. Applied...

Original comment by willmcgugan on 9 Sep 2013 at 8:03

GoogleCodeExporter commented 9 years ago
Cool, thanks.

Original comment by rand...@gmail.com on 9 Sep 2013 at 10:57