Coder Social home page Coder Social logo

Permissions issue about pifs HOT 4 OPEN

philipl avatar philipl commented on August 11, 2024
Permissions issue

from pifs.

Comments (4)

pasis avatar pasis commented on August 11, 2024 1

I've tried to mount pifs and got the same issue. The reason is in pifs_getattr. It handles root pifs directory incorrectly when metadata directory specified as relative. So quick workaround: use absolute paths:

pifs -o mdd=`pwd`/metadata/ mnt/

from pifs.

a-rodin avatar a-rodin commented on August 11, 2024

I use x86_64 Linux.

from pifs.

G3n3r0 avatar G3n3r0 commented on August 11, 2024

@therussianphysicist I didn't say that you did. I linked to this issue because the actual issue both of you are facing is the same. Neither of you are able to access the filesystem once it is mounted, which is the same issue I am facing as well.

from pifs.

 avatar commented on August 11, 2024

Mine wouldn't work with the mount path in my user's /home/username/mountpoint directory. I had to have both the mountpoint & meta directories in /mnt: /mnt/pifs/mountpoint/ & /mnt/second-hdd/pifsmeta/

Then I was able to have it autostart using root's crontab:
@reboot /usr/local/bin/πfs -o mdd=/mnt/second-hdd/pifsmeta/ /mnt/pifs/mountpoint/

Doing this allows root access to the pifs mountpoint, but not user access unfortunately. I don't know a solution to that & will have to use the dir as root all the time. Chown user:user /path didn't work.

from pifs.

Related Issues (20)

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.