Skip to content
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 | Workaround for 7zr overriding umask for target dir #4252

Merged
merged 3 commits into from
Apr 8, 2021

Conversation

Joulinar
Copy link
Collaborator

@Joulinar Joulinar commented Apr 7, 2021

Status: Ready

  • change owner of application directory

Reference: #4251

Commit list/description:

  • DietPi-Software | PHP Gallery - allow web server access on application folder

@MichaIng
on uninstall, only database folder is removed but main folder /var/www/gallery stays. That's correct? I guess to keep user images.

DietPi-Software | PHP Gallery - allow web server access on application folder
@Joulinar Joulinar requested a review from MichaIng April 7, 2021 14:28
@Joulinar Joulinar self-assigned this Apr 7, 2021
@Joulinar Joulinar added this to the v7.1 milestone Apr 7, 2021
+ DietPi-Software | Single File PHP Gallery: Restore intended directory permissions and instead for the wrong parent directory modes that origin from 7zr overriding the default 022 umask with 077.
@MichaIng MichaIng changed the title DietPi-Software | PHP Gallery DietPi-Software | Workaround for 7zr overriding umask for target dir Apr 7, 2021
+ CHANGELOG | Resolved an issue where directory permissions could be wrong because of 7zr overriding the default umask. This lead e.g. to 403 browser error on a fresh Single File PHP Gallery install.
@MichaIng MichaIng merged commit b2b9faf into dev Apr 8, 2021
@MichaIng MichaIng deleted the gallery branch April 8, 2021 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DietPi-Software | Single File PHP Gallery: Wrong permissions on install
2 participants