Skip to content

Commit

Permalink
Add example for chown command
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiroma authored Dec 11, 2020
1 parent 804d483 commit ea09580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Robo/Plugin/Commands/FilesCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function filesSync($options = ['site' => 'default']) {
$build->addTask($this->taskExec('tar')->arg('zxf')->arg($files_tar_gz)->arg('-p')->rawArg('--strip-components=1')->dir($files_dir));
$build->addTask($this->taskExec('rm')->arg('-rf')->arg($files_tar_gz)->dir($files_dir));
$result = $build->run();
$this->yell('Do not forget to check permissions on the files/*. Use "chown" to fix them.');
$this->yell('Do not forget to (re)set correct permissions on the files/*. Example: sudo chmod g+ws web/sites/default/files/ && sudo chmod -R g+w web/sites/default/files/ && sudo chown -R apache:john web/sites/default/files/');
return $result;
}

Expand Down

0 comments on commit ea09580

Please sign in to comment.