xgamerx-cap-recipes 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -60,8 +60,8 @@ Capistrano::Configuration.instance(true).load do
|
|
60
60
|
desc "Repair permissions to allow user to perform all actions"
|
61
61
|
task :repair_permissions, :role => :app do
|
62
62
|
puts "Applying correct permissions to allow for proper command execution"
|
63
|
-
sudo "chown -R
|
64
|
-
sudo "chown -R
|
63
|
+
sudo "chown -R #{user}:#{user} #{current_path}"
|
64
|
+
sudo "chown -R #{user}:#{user} #{current_path}/tmp"
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
@@ -49,8 +49,8 @@ Capistrano::Configuration.instance(true).load do
|
|
49
49
|
task :repair_permissions, :role => :app do
|
50
50
|
puts "Applying correct permissions to allow for proper command execution"
|
51
51
|
sudo "chmod -R 744 #{current_path}/log #{current_path}/tmp"
|
52
|
-
sudo "chown -R
|
53
|
-
sudo "chown -R
|
52
|
+
sudo "chown -R #{user}:#{user} #{current_path}"
|
53
|
+
sudo "chown -R #{user}:#{user} #{current_path}/tmp"
|
54
54
|
end
|
55
55
|
|
56
56
|
desc "Displays the production log from the server locally"
|
data/lib/cap_recipes/version.rb
CHANGED