-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directory Access? #185
Comments
Ok, apologies. |
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 Cheers, |
Yunohost documentation:
The IFM is usually locked to it's own directory (/home/yunohost.app/ifm), so you are not able to go above. You can change that by setting env[IFM_ROOT_DIR] = /home/yunohost.app/ifm in the PHP config /etc/php/8.0/fpm/pool.d/ifm.conf L.434 with the help of this documentation.
When change env[IFM_ROOT_DIR] = /home/yunohost.app to just /home/ or /var/www/ then then ifm does not itself change. The default directory stays the same - at least appears to!
What am I missing?
How can I get access further up the filesystem?
Thanks!
The text was updated successfully, but these errors were encountered: