Kronos,
You can't do that, sorry - you will need to reconsider how your server
checks out from SVN, or how Capistrano connects... you can't run all
commands as another user, or borrow another user's keys, that's unix 101.
Happy to accept a patch to do what you want this to do, as the ability to
Thanx, work fine on ruby version:
macbook-ivan-shumkov:geometria ivanshumkov$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
On 8 июл, 03:27, Rafael G. r...@aspgems.com wrote:
Can you try the same with other ruby version?[1]
Rafael,
Thanks for handling that query, we need to resolve this as more and more
people are tripping over it lately.
- Lee
2009/7/8 Shumkov ivanshum...@gmail.com
Thanx, work fine on ruby version:
macbook-ivan-shumkov:geometria ivanshumkov$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72)
Hi cindy,
You can solve it creating the files with your current user then do
a chown with sudo. Example:
task :chown_file do
run touch ~/file_foo.txt
sudo chown www-data:www-data file_foo.txt
end
Bye!
cswebgrl wrote:
I've got a related
Thanks Rafa.
Can I implement this for the directories so that Capistrano won't give
me permissions errors?
When running deploy:check I get this error:
The following dependencies failed. Please check them and try again:
-- You do not have permissions to write to `/var/www/projectname'.
Where
You're welcome.
Make sure the base directory(/var/www in your case) have the appropiate
permissions before running deploy:{check|setup|...}
cswebgrl wrote:
Thanks Rafa.
Can I implement this for the directories so that Capistrano won't give
me permissions errors?
When running