mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix the datadir permission problems during install
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
9c0ea8a23c
commit
386533b02f
5 changed files with 10 additions and 22 deletions
|
|
@ -739,14 +739,6 @@ class ConfigurationManager
|
|||
return false;
|
||||
}
|
||||
|
||||
public function shouldDataDirectoryPermissionCheckGetSkipped() : bool {
|
||||
$datadir = $this->GetNextcloudDatadirMount();
|
||||
if ($datadir === 'nextcloud_aio_nextcloud_datadir' || str_starts_with($datadir, '/run/desktop/mnt/host/')) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function GetNextcloudStartupApps() : string {
|
||||
$apps = getenv('NEXTCLOUD_STARTUP_APPS');
|
||||
if (is_string($apps)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue