Code Monkey home page Code Monkey logo

Comments (2)

coffseducation avatar coffseducation commented on September 18, 2024

Ok, apologies.
After a reboot I have access - sort of!
I now have the filesystem access higher up - but can drill down only so far!
eg I can get to /opt/yunohost but then cannot enter the searxng directory!
A permissions issue?
rwx r-x ---
How do I change permissions so IFM can access all?
thanks

from ifm.

misterunknown avatar misterunknown commented on September 18, 2024

Hi,

well yes, that sounds like a permission problem. This technically has nothing to do with IFM itself. To solve this problem you first have to determine as which user PHP is running. I'm not familiar with yunohost, so I can't really help you there. If it's an apache2 webserver with PHP module, the user is mostly "www-data", but that's a wild guess. If they use php-fpm it could be literally any user. The simplest way to check this is to create a file in a directory you can write to, and check the ownership of that file.

Even if you know the user, it's not simple to get universal access. You can't just randomly chown files and directories, if you don't know exactly what you are doing, because that can break things fast. One way could be to add that user to the corresponding group if the permissions are rwx r-x ---. Another way is to set a filesystem ACL. FInally it should also be possible to change the user as which PHP is running entirely, but this has also major implications on potential other apps, running on the same webserver.

Cheers,
Marco

from ifm.

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.