{ "id": "128041", "key": "TIMOB-16671", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15935", "description": "2014 Sprint 06", "name": "2014 Sprint 06", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15938", "description": "2014 Sprint 06 Tooling", "name": "2014 Sprint 06 Tooling", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-03-24T01:41:42.000+0000", "created": "2014-03-22T23:41:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:42:44.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "In the 'ti setup check' command, check if the tmp dir exists and is writeable. By default, it looks for the TMPDIR, TMP, and TEMP environment vars, but if those don't exist, it will use ~/tmp. When the CLI is run as sudo and ~/tmp does not exist, then the directory is created as root and will break any command that needs to write a temp file.", "attachment": [], "flagged": false, "summary": "CLI: Add tmp dir check to 'setup check'", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "298326", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium CLI Master pull request: https://github.com/appcelerator/titanium/pull/118\nTitanium CLI 3.2.x pull request: https://github.com/appcelerator/titanium/pull/119", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-23T02:50:29.000+0000", "updated": "2014-03-23T02:50:29.000+0000" }, { "id": "298337", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, we need to assume you do NOT have a ~/tmp directory and if you do, that it is not owned by you and/or writable.\r\n\r\n1) Run \"ti setup check\"\r\n2) Notice under the directory permissions section that the temp directory is valid\r\n3) then run \"TMPDIR= ti setup check\"\r\n4) Notice under the directory permissions section that the temp directory is not valid", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-24T00:57:29.000+0000", "updated": "2014-03-24T01:16:38.000+0000" }, { "id": "298700", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9.2\nAppcelerator Studio, build: 3.2.3.201403250634\nTitanium SDK, build: 3.2.3.v20140325135714\nCLI: 3.2.3-dev\nAlloy: 1.3.1\n\nFollowing Chris' test instructions, both scenarios worked as expected.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-25T22:32:07.000+0000", "updated": "2014-03-25T22:32:07.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }