Skip to content

Allow to skip data dir permission checks by config - #7347

Merged
MorrisJobke merged 1 commit into
masterfrom
fix-3245
Dec 1, 2017
Merged

Allow to skip data dir permission checks by config#7347
MorrisJobke merged 1 commit into
masterfrom
fix-3245

Conversation

@blizzz

Copy link
Copy Markdown
Member

Enables installation on services that don't allow/support permission
changes.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzzblizzz added this to the Nextcloud 13 milestone Nov 30, 2017
@codecov

codecovBot commented Nov 30, 2017

Copy link
Copy Markdown

Codecov Report

Merging #7347 into master will increase coverage by 0.92%.
The diff coverage is 50%.

@@ Coverage Diff @@## master #7347 +/- ##
============================================
+ Coverage 50.86% 51.79% +0.92% + Complexity 24541 23389 -1152 
============================================
Files 1584 1429 -155 Lines 93804 81026 -12778 Branches 1358 0 -1358 ============================================
- Hits 47712 41964 -5748 + Misses 46092 39062 -7030
Impacted FilesCoverage ΔComplexity Δ
config/config.sample.php0% <0%> (ø)0 <0> (ø)⬇️
lib/private/legacy/util.php58.65% <66.66%> (-0.03%)225 <0> (+1)
lib/private/Memcache/Memcached.php0% <0%> (-57.9%)31% <0%> (ø)
lib/private/Files/Storage/DAV.php7.29% <0%> (-57.53%)161% <0%> (ø)
...ib/private/DB/QueryBuilder/CompositeExpression.php50% <0%> (-12.5%)6% <0%> (+3%)
apps/dav/lib/DAV/Sharing/Plugin.php60% <0%> (-3.64%)14% <0%> (ø)
lib/private/RichObjectStrings/Validator.php82.14% <0%> (-2.86%)13% <0%> (+9%)
lib/private/Mail/Message.php79.16% <0%> (-1.97%)24% <0%> (+7%)
lib/private/Group/MetaData.php68.91% <0%> (-1.86%)19% <0%> (ø)
lib/autoloader.php79.62% <0%> (-1.63%)27% <0%> (+12%)
... and 235 more

@karlitschek

Copy link
Copy Markdown
Member

nice 👍 please also backport

@darkneo29

Copy link
Copy Markdown

Does backport mean work on existing installs?

@tilosptilosp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Works on docker for windows

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

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 007fba6 into masterDec 1, 2017
@MorrisJobke
MorrisJobke deleted the fix-3245 branch December 1, 2017 10:53
@MorrisJobke

Copy link
Copy Markdown
Member

Let me do the backport

@MorrisJobke

Copy link
Copy Markdown
Member

Backport is in #7362

@jospoortvliet

Copy link
Copy Markdown
Member

@darkneo29 backporting means porting the code back to older releases. So this was for master, if you want it on 12, it has to be turned into a patch that applies there... Sometimes trivial, sometimes near impossible 💃

@darkneo29

Copy link
Copy Markdown

Need a hand if possible. Reinstalled Nextcloud and added 'check_data_directory_permissions' => true, to line 39 on my config.php file. same error...

@jarofgreen

Copy link
Copy Markdown

@darkneo29 I don't think it's been released into V12 yet. Looks like it'll be in V12.0.5.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@blizzz@karlitschek@darkneo29@MorrisJobke@jospoortvliet@jarofgreen@icewind1991@tilosp