{"action":"closed","issue":{"url":"https://api.github.com/repos/capistrano/capistrano/issues/1399","labels_url":"https://api.github.com/repos/capistrano/capistrano/issues/1399/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/capistrano/issues/1399/comments","events_url":"https://api.github.com/repos/capistrano/capistrano/issues/1399/events","html_url":"https://github.com/capistrano/capistrano/issues/1399","id":62991013,"number":1399,"title":"can't fetch :deploy_user","user":{"login":"turboMaCk","id":2130305,"avatar_url":"https://avatars.githubusercontent.com/u/2130305?v=3","gravatar_id":"","url":"https://api.github.com/users/turboMaCk","html_url":"https://github.com/turboMaCk","followers_url":"https://api.github.com/users/turboMaCk/followers","following_url":"https://api.github.com/users/turboMaCk/following{/other_user}","gists_url":"https://api.github.com/users/turboMaCk/gists{/gist_id}","starred_url":"https://api.github.com/users/turboMaCk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turboMaCk/subscriptions","organizations_url":"https://api.github.com/users/turboMaCk/orgs","repos_url":"https://api.github.com/users/turboMaCk/repos","events_url":"https://api.github.com/users/turboMaCk/events{/privacy}","received_events_url":"https://api.github.com/users/turboMaCk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-19T13:39:57Z","updated_at":"2015-03-19T14:20:46Z","closed_at":"2015-03-19T14:20:46Z","body":"fetch(:deploy_user) do not return deploy user name in capistrano **3.4.0**.\r\n\r\n    # in deploy.rb\r\n    server 'xx.xx.xx.xx', user: 'deploy', roles: %w{web app db}\r\n    set :deploy_to, \"/home/#{fetch(:deploy_user)}/apps/app\"\r\n\r\n    # console output\r\n    DEBUG [54b4a353] \tmkdir:\r\n    DEBUG [54b4a353] \tcannot create directory ‘/home//apps/app’\r\n    DEBUG [54b4a353] \t: Permission denied"}}