Skip to content

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.

5 participants