Repository navigation
Introduce OWNCLOUD_CONFIG_DIR environment variable - #27874
Merged
Merged
Conversation
This allosw to change the config location.
Contributor
|
Looks fine. @DeepDiver1975 @butonic thoughts ? |
Contributor
|
Will need clear documentation because the config dir needs to be writable by the web server process, wherever it is. So all parent folders leading to it needs to be traversable by the web server process too. I'd be tempted to say "not officially supported, use at your own risk" |
Contributor
Author
|
I think this will be mostly used in special cases. For example NixOS uses it as the main code directory is read-only. |
Contributor
Author
|
ping |
PVince81
approved these changes
Jun 21, 2017
Contributor
|
Please raise a ticket in documentation repo: https://github.com/owncloud/documentation/ |
Contributor
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The environment variable
OWNCLOUD_CONFIG_DIRallows to move the config out of the source tree. This is usefull to make the rest read-only.Motivation and Context
Allow to have the source directory read-only.
Nextcloud has a similar variable called
NEXTCLOUD_CONFIG_DIRso there it is already working.How Has This Been Tested?
Running an Owncloud server 9.1.5 with a read only source directory.
Checklist: