{ "id": "115194", "key": "TIMOB-14026", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15577", "description": "2013 Sprint 16 Core", "name": "2013 Sprint 16 Core", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-02T23:18:49.000+0000", "created": "2013-05-30T16:14:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-18T18:34:30.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": "If the mobile sdk folder is not writable, the sdk install command errors. Try to detect and gracefully fail.", "attachment": [], "flagged": false, "summary": "CLI: Make sure sdk folder is writable when installing an sdk", "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": "263333", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "https://github.com/appcelerator/titanium/pull/50\nhttps://github.com/appcelerator/node-appc/pull/50", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-26T02:00:11.000+0000", "updated": "2013-07-26T02:00:11.000+0000" }, { "id": "264193", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run the \"ti sdk\" command to determine the default Titanium SDK install location. For Mac OS X, the default install location is \"~/Library/Application Support/Titanium\".\n\nNext, run:\n\n{code}\nsudo chown root:admin ~/Library/Application\\ Support/Titanium\n{code}\n\nThen run \"titanium sdk install --branch master\" to try to download the latest SDK. The install will fail and the SDK is not downloaded.\n\nTo restore your folder permissions, run:\n\n{code}\nsudo chown YOUR_USER_NAME:staff ~/Library/Application\\ Support/Titanium\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-31T17:38:49.000+0000", "updated": "2013-07-31T17:38:49.000+0000" }, { "id": "280006", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311160316\nTitanium SDK, build: 3.2.0.v20131117001643\nCLI: 3.2.0-alpha\nAlloy: 1.3.0\n\nVerified using test case provided in comments and SDK successfully installed to writable folder and an error message is displayed for folders that have no write access.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-18T18:34:26.000+0000", "updated": "2013-11-18T18:34:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }