-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
DietPi-Software | Single File PHP Gallery: Wrong permissions on install #4251
Comments
Hi, many thanks for your message. Looks like file system permission are incorrect. Pls try following as workaround
|
This fixed the issue. Thank you! |
Reopening it until we merged the fix. I want to find out why it worked fine in the past with the permissions we had, but now not anymore. AFAIK the version was not updated since then. |
Gallery folder has r/w permission for |
All dirs are created via ... lol found the issue: To verify, |
yep is working as 👍 |
Reported to Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986634 I tested the new official 7-Zip Linux binaries, which work fine and do not suffer from the issue: #4195 As I do not expect it to be fixed anymore, since p7zip is basically abandoned, creating own 7-Zip DEB packages seems to be a nice alternative. But not sure if this is a good idea as long as they're marked as alpha state. |
Single File PHP Gallery doesn't work after install.
HTTP://[host]/gallery/index.php returns 403
Required Information
G_DIETPI_VERSION_CORE=7
G_DIETPI_VERSION_SUB=0
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
Linux DietPi 5.10.21-sunxi64 #21.02.3 SMP Mon Mar 8 00:45:13 UTC 2021 aarch64 GNU/Linux
Additional Information (if applicable)
Steps to reproduce
Install WebMin,
Install Nextcloud
Install Syncthing
Uninstall Nextcloud
Install Single File PHP Gallery
/var/www/gallery exists and contains data
Expected behaviour
HTTP://[host]/gallery Should work
Actual behaviour
HTTP://[host]/gallery returns 403
HTTP://[host]/gallery/index.php returns 403
The text was updated successfully, but these errors were encountered: