PyFilesystem / pyfilesystem

Python filesystem abstraction layer
http://pyfilesystem.org/
BSD 3-Clause "New" or "Revised" License
287 stars 63 forks source link

Mounted fs could not create new file on Mac #278

Open Pagliacii opened 6 years ago

Pagliacii commented 6 years ago

OS: macOS 10.12.5 Python: 2.7.14 fs: 0.5.5a1 osxfuse: 3.7.1

I want to mount a MemoryFS or a OSFS on Mac. It can work, but when I try to create a new file, it will raise an IOError. How could I fix it?

image

And I found that the MemoryFS use "r+xb" mode to open a new file. What does "x" mean?

image