{ "id": "101821", "key": "TIMOB-11224", "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": [], "resolution": null, "resolutiondate": null, "created": "2012-09-24T07:38:43.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "cb-tooling" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [ { "id": "21691", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "101826", "key": "TISTUD-2329", "fields": { "summary": "Create Project: Creating Project created with sdk folder permission as \"Access Files\" throws \"write permissions\" error on Ubuntu.", "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" } }, "priority": { "name": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:44.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "This is not a Regression issue. issue also occurs on Titanium Studio: 2.1.1\r\nSteps to Reproduce:\r\n1. Navigate to linux folder in /home/global/.titanium/mobilesdk directory.\r\n2. Right click on linux folder and change access permissions from \"Create and Delete Files\" to \"Access Files\" for Owner, Group and Others.\r\n3. Click \"Apply permissions\"\r\n4. Create a new HTML based project from dashboard (Observe \"No write permissions\" error is thrown.A html project is created in left pane) (Notice this error does not appear if Titanium Mobile project is created).\r\n5. Now change the access permissions of \"linux\" folder back to \"Create and Delete Files\".\r\n6. Now try deleting project created in Step 4 by Checking checkbox to delete project on disk.\r\n\r\nActual: Refactoring dialog appears with exception message \"Problems encountered while deleting Resources\". The issue does not exist in Win 7 and Mac OSX\r\nExpected: Behavior must be same for html and Ti mobile project while creating. And Project should get deleted properly. \r\n", "attachment": [ { "id": "31723", "filename": "ErrorLog.txt", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-09-24T07:38:43.000+0000", "size": 3235, "mimeType": "text/plain" } ], "flagged": false, "summary": "Delete Project: Deleting Project created with sdk folder permission as \"Access Files\" throws error on Ubuntu", "creator": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "OS: Ubuntu 12.04\r\nTitanium Studio: 2.1.2.201208301612\r\nTitanium SDK: 2.1.3.v20120921141611", "comment": { "comments": [ { "id": "221681", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After some investigation, this looks to be a SDK issue. Basically when the SDK directory (in this case, ~/.titanium/mobilesdk/linux) and its children are set to be read-only, calling the following\r\n\r\n{code}\r\n/home/qa/.titanium/mobilesdk/linux/2.1.2.GA/project.py mobile_html mobile.html /home/qa/Titanium_Studio_Workspace mobileweb\r\n{code}\r\n\r\nwill generate a project structure where /home/qa/Titanium_Studio_Worksapce/mobile_html/Resources/mobileweb directory is read-only as well. Subsequently, when we unzip the project template, it contains files for that directory, and unzipping will fail since there is no write permission.\r\n\r\nAnd when the SDK directory is set to have both read and write permissions, running the same project.py command will create a project structure with the write permission.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-01T23:03:01.000+0000", "updated": "2012-10-01T23:03:01.000+0000" }, { "id": "394306", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To fix, we need to make sure that files creating when making a new project are not read only.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-24T22:38:17.000+0000", "updated": "2016-08-24T22:38:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }