mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #3047 from nextcloud/enh/noid/add-executable-bit
add executable bit on tmpfs for nextcloud container
This commit is contained in:
commit
afcd9cd30d
3 changed files with 7 additions and 3 deletions
|
|
@ -439,7 +439,11 @@ class DockerActionManager
|
|||
|
||||
$tmpfs = [];
|
||||
foreach($container->GetTmpfs() as $tmp) {
|
||||
$tmpfs[$tmp] = "";
|
||||
$mode = "";
|
||||
if (str_contains($tmp, ':')) {
|
||||
$mode = explode(':', $tmp)[1];
|
||||
}
|
||||
$tmpfs[$tmp] = $mode;
|
||||
}
|
||||
if (count($tmpfs) > 0) {
|
||||
$requestBody['HostConfig']['Tmpfs'] = $tmpfs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue