Skip to content

Commit

Permalink
Merge pull request #104 from mrrobot47/fix/chown-dir
Browse files Browse the repository at this point in the history
Update chown to parent www dir
  • Loading branch information
mrrobot47 authored Sep 27, 2024
2 parents f8858dc + 4fdcbee commit 82a5c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ private function configure_site_files() {

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

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

0 comments on commit 82a5c9e

Please sign in to comment.