{"action":"created","issue":{"url":"https://api.github.com/repos/meolu/walle-web/issues/336","repository_url":"https://api.github.com/repos/meolu/walle-web","labels_url":"https://api.github.com/repos/meolu/walle-web/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/meolu/walle-web/issues/336/comments","events_url":"https://api.github.com/repos/meolu/walle-web/issues/336/events","html_url":"https://github.com/meolu/walle-web/issues/336","id":238378415,"number":336,"title":"部分部署的BUG","user":{"login":"sn01615","id":7794149,"avatar_url":"https://avatars0.githubusercontent.com/u/7794149?v=3","gravatar_id":"","url":"https://api.github.com/users/sn01615","html_url":"https://github.com/sn01615","followers_url":"https://api.github.com/users/sn01615/followers","following_url":"https://api.github.com/users/sn01615/following{/other_user}","gists_url":"https://api.github.com/users/sn01615/gists{/gist_id}","starred_url":"https://api.github.com/users/sn01615/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sn01615/subscriptions","organizations_url":"https://api.github.com/users/sn01615/orgs","repos_url":"https://api.github.com/users/sn01615/repos","events_url":"https://api.github.com/users/sn01615/events{/privacy}","received_events_url":"https://api.github.com/users/sn01615/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-25T12:40:04Z","updated_at":"2017-06-25T12:43:02Z","closed_at":null,"body":"部署部分文件时，其中一步是拷贝目录里的文件到新目录,但是其中一个配置文件我通过sudo设置了600权限，当前用户无法读取，导致文件拷贝报错，无法完成部署。。。\r\n```bash\r\ncp -arf /mnt/www/chatnovel/. /mnt/www/releases/XXXX/20170625-203146\r\ncp: cannot open `/mnt/www/xxx/./.env' for reading: Permission denied\r\n```"},"comment":{"url":"https://api.github.com/repos/meolu/walle-web/issues/comments/310900532","html_url":"https://github.com/meolu/walle-web/issues/336#issuecomment-310900532","issue_url":"https://api.github.com/repos/meolu/walle-web/issues/336","id":310900532,"user":{"login":"sn01615","id":7794149,"avatar_url":"https://avatars0.githubusercontent.com/u/7794149?v=3","gravatar_id":"","url":"https://api.github.com/users/sn01615","html_url":"https://github.com/sn01615","followers_url":"https://api.github.com/users/sn01615/followers","following_url":"https://api.github.com/users/sn01615/following{/other_user}","gists_url":"https://api.github.com/users/sn01615/gists{/gist_id}","starred_url":"https://api.github.com/users/sn01615/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sn01615/subscriptions","organizations_url":"https://api.github.com/users/sn01615/orgs","repos_url":"https://api.github.com/users/sn01615/repos","events_url":"https://api.github.com/users/sn01615/events{/privacy}","received_events_url":"https://api.github.com/users/sn01615/received_events","type":"User","site_admin":false},"created_at":"2017-06-25T12:43:02Z","updated_at":"2017-06-25T12:43:02Z","body":"在我的服务器上应该可以通过sudo实现，能实现配置么？\r\n```php\r\n        if ($task->file_transmission_mode == TaskModel::FILE_TRANSMISSION_MODE_PART) {\r\n            // 增量传输时, 在解压数据包之前, 需要把目标机当前版本复制一份到release目录\r\n            $cmd[] = sprintf('**sudo** cp -arf %s/. %s', $webrootPath, $releasePath);\r\n        }\r\n```"}}
{"actor":{"display_login":"sn01615"}}