GithubHelp home page GithubHelp logo

python-fuse-sample's Introduction

python-fuse-sample

This repo contains a very simple FUSE filesystem example in Python. It's the code from a post I wrote a while back:

https://www.stavros.io/posts/python-fuse-filesystem/

If you see anything needing improvement or have any feedback, please open an issue.

python-fuse-sample's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-fuse-sample's Issues

RuntimeError: 1

Hello, When I run the following content, the error happened. my god..
ubuntu@ubuntu:~/pyfuse3-3.1.0/examples$ python test.py /home/ubuntu/ /tmp/test/
fusermount: user has no write access to mountpoint /tmp/test
Traceback (most recent call last):
File "test.py", line 134, in
main(sys.argv[2], sys.argv[1])
File "test.py", line 131, in main
FUSE(Passthrough(root), mountpoint, foreground=True)
File "/home/ubuntu/pyfuse3-3.1.0/examples/fuse.py", line 711, in init
raise RuntimeError(err)
RuntimeError: 1

How to mount?

Problem

  • I am having trouble running this template
  • when I run it the program it either runs on a loop for an extended period of time or I get an error.
  • I am following the instructions from the article python myfuse.py /your/dir /mnt/point which in my case translated to python passthrough.py /temp/dir/ /mounted/ which gave me a runtime error so I tried python passthrough.py ~/Documents/projects/fuse-python/temp/dir/ ~/Documents/projects/fuse-python/mounted/ which run forever.

virtualbox_comp2404-2406-w18_02_04_2018_23_55_38

What?

  • I would like to know if I am simply making an error when trying to run the program and how I can properly execute it.

cc @skorokithakis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.