remove user as there is no envs here anymore
This commit is contained in:
parent
2344267f27
commit
3f49056a84
1 changed files with 2 additions and 3 deletions
|
|
@ -24,9 +24,8 @@ public function run()
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isDev()) {
|
if (isDev()) {
|
||||||
$user = env('PUID').':'.env('PGID');
|
Process::run('chown -R 9999:9999 '.storage_path('app/ssh/keys'));
|
||||||
Process::run("chown -R $user ".storage_path('app/ssh/keys'));
|
Process::run('chown -R 9999:9999 '.storage_path('app/ssh/mux'));
|
||||||
Process::run("chown -R $user ".storage_path('app/ssh/mux'));
|
|
||||||
} else {
|
} else {
|
||||||
Process::run('chown -R 9999:root '.storage_path('app/ssh/keys'));
|
Process::run('chown -R 9999:root '.storage_path('app/ssh/keys'));
|
||||||
Process::run('chown -R 9999:root '.storage_path('app/ssh/mux'));
|
Process::run('chown -R 9999:root '.storage_path('app/ssh/mux'));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue