> > I am getting 403 forbidden messages on my website, is this because > nginx requires the files/folders to be set to www-data? > > All my files/folders are currently owned by the user that I SSH into > using Capistrano. > > How can I solve this issue? >
Make a task to reset the permissions every time, or research unix groups for some pro points. > Also, the option to run under Sudo su or the runner account, do I have > to actually put the password in plain text in my deploy.rb file? Or > is the only solution to SSH with the correct account in the first > place? i.e. create a www-data account to run using SSH? > Ideally you should configure passwordless sudo* for the commands your deploy requires*. -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
