Skip to content

Commit 82a5c9e

Browse files
authored
Merge pull request #104 from mrrobot47/fix/chown-dir
Update chown to parent www dir
2 parents f8858dc + 4fdcbee commit 82a5c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ private function configure_site_files() {
476476

477477
// Assign www-data user ownership.
478478
chdir( $this->site_data['site_fs_path'] );
479-
\EE_DOCKER::docker_compose_exec( sprintf( 'chown -R www-data: %s', $this->site_data['site_container_fs_path'], 'php', 'bash', 'root' ) );
479+
\EE_DOCKER::docker_compose_exec( 'chown -R www-data: /var/www/', 'php', 'bash', 'root' );
480480

481481
\EE::success( 'Configuration files copied.' );
482482
} catch ( \Exception $e ) {

0 commit comments

Comments
 (0)