Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Close #14 - chown only works with root user
Browse files Browse the repository at this point in the history
  • Loading branch information
Anahkiasen committed Jul 9, 2013
1 parent 12d4158 commit e59c5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rocketeer/Tasks/Abstracts/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function setPermissions($folder)
$apache = $this->rocketeer->getOption('remote.apache');

$output = $this->run(array(
'chmod -R +x ' .$folder,
'chmod -R 775 ' .$folder,
'chmod -R g+s ' .$folder,
sprintf('chown -R %s:%s %s', $apache['user'], $apache['group'], $folder),
));
Expand Down

0 comments on commit e59c5a1

Please sign in to comment.