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

Adds a permission check for app directories #10628

Merged
merged 4 commits into from
Aug 20, 2018

Conversation

weeman1337
Copy link
Member

This PR adds a setup check for the permissions of the app root directories.

There is a test for the case the permissions are fine. It's hard to add a test for the wrong permissions, because an ordinary user can't do a chown.

Replaces #10538

Closes #10154

@skjnldsv
Copy link
Member

Looks great!!
Please let's get this in :)

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

@MorrisJobke MorrisJobke merged commit 37869d9 into master Aug 20, 2018
@MorrisJobke MorrisJobke deleted the feature/10154/app-directory-permission-check branch August 20, 2018 15:08
@rullzer rullzer mentioned this pull request Aug 24, 2018
3 tasks
@MorrisJobke MorrisJobke mentioned this pull request Aug 24, 2018
@gdamjan
Copy link
Contributor

gdamjan commented Dec 11, 2018

a setup where nextcloud's program files (as opposed to state/data files - NEXTCLOUD_CONFIG_DIR and "datadirectory" in config.php) are read-only to the runtime can also be intentional. I for one don't trust .php programs overwriting themselves. i't's also common on stateless infrastructure.

is there a way to dismiss this warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants