-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_permissions: fix for acl method #205
Conversation
set_permissions: fix for acl method
Great! Thank you! |
@colinmutter Thank you, I was searching for what that error meant. I just downloaded capifony and am getting the same error, 4 months later. Defining :user fixed it for me too. |
Since this issue is the first result for a google search, I'm reporting here my solution to use current user and permissions: before 'deploy:set_permissions', 'deploy:set_user'
namespace :deploy do
desc "Set user to current user"
task :set_user do
set :user, capture("whoami")
puts "current user: #{user}"
end
end |
@garak, i try your solution, but it doesn't work...what is your set :permission_method ? acl ? chown, chmod here mine:
on production, permission folders as defined as root |
I'm using same settings, with also:
|
@garak : what is the user who launch the deploy command ? i got problem
|
of course, user needs to be in the sudoers in order to use sudo |
i know, this is bad, but i am root so...as root, it doesn't work |
root does not need sudo. |
i had succeeded finally, execute a shell chown root by the deploy.rb script. |
Based on http://symfony.com/doc/current/book/installation.html#configuration-and-setup