{"action":"opened","issue":{"url":"https://api.github.com/repos/NervJS/taro/issues/4409","repository_url":"https://api.github.com/repos/NervJS/taro","labels_url":"https://api.github.com/repos/NervJS/taro/issues/4409/labels{/name}","comments_url":"https://api.github.com/repos/NervJS/taro/issues/4409/comments","events_url":"https://api.github.com/repos/NervJS/taro/issues/4409/events","html_url":"https://github.com/NervJS/taro/issues/4409","id":489595232,"node_id":"MDU6SXNzdWU0ODk1OTUyMzI=","number":4409,"title":"通过taro init 创建的文件夹需要root权限，否则不能增、删、改文件","user":{"login":"wongzzh","id":15920367,"node_id":"MDQ6VXNlcjE1OTIwMzY3","avatar_url":"https://avatars1.githubusercontent.com/u/15920367?v=4","gravatar_id":"","url":"https://api.github.com/users/wongzzh","html_url":"https://github.com/wongzzh","followers_url":"https://api.github.com/users/wongzzh/followers","following_url":"https://api.github.com/users/wongzzh/following{/other_user}","gists_url":"https://api.github.com/users/wongzzh/gists{/gist_id}","starred_url":"https://api.github.com/users/wongzzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wongzzh/subscriptions","organizations_url":"https://api.github.com/users/wongzzh/orgs","repos_url":"https://api.github.com/users/wongzzh/repos","events_url":"https://api.github.com/users/wongzzh/events{/privacy}","received_events_url":"https://api.github.com/users/wongzzh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-05T08:09:10Z","updated_at":"2019-09-05T08:09:10Z","closed_at":null,"author_association":"NONE","body":"**问题描述**\r\n[问题描述：站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]\r\n\r\n**复现步骤**\r\n[复现问题的步骤]\r\n1. 初始化一个taro项目执行命令：sudo taro init test\r\n2. 是否需要使用 TypeScript ？ No\r\n3. 请选择 CSS 预处理器（Sass/Less/Stylus） Stylus\r\n4. 请选择模板 (Use arrow keys) 选择 redux \r\n5. 将创建好的test项目添加的vscode编辑器中，尝试删除任何文件、修改任意文件、在任意目录创建文件，都不能成功，提示如下：\r\nError: EACCES: permission denied, unlink '/Users/mac/Downloads/test/src/pages/index/index.jsx'\r\n\r\n无法写入文件 (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/Users/mac/Downloads/test/src/pages/index/abc.css')\r\n如果加上root权限如 sudo mkdir abc 则是正常的\r\n（同样用taro init 命令初始化一个项目，如不选择redux模版，使用默认模版，就不会出现此问题）\r\n\r\n\r\n\r\n**期望行为**\r\n[这里请用简洁清晰的语言描述你期望的行为]\r\n希望能解决此问题\r\n\r\n**系统信息**\r\nSystem:\r\n      OS: macOS 10.14.6\r\n      Shell: 3.2.57 - /bin/bash\r\n    Binaries:\r\n      Node: 10.16.0 - /usr/local/bin/node\r\n      npm: 6.9.0 - /usr/local/bin/npm\r\n"}}
{"actor":{"display_login":"wongzzh"}}