{ "id": "79824", "key": "AC-2985", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-08-31T18:31:09.000+0000", "created": "2011-08-30T05:57:27.000+0000", "labels": [ "acl", "build", "builder.py", "chmod", "permissions" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:59.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Some source control systems (e.g. Perforce) set the file access permissions to Read Only (i.e. r--r--r--, 444). This attributes carries over to the files that are copied to the build folders which causes numerous issues as subsequent builds attempt to overwrite those files. The builder scripts should modify the permissions on the newly created build files and add write permission for the owner.", "attachment": [], "flagged": false, "summary": "The builder need to add write permission to files copied from the project resources directory", "creator": { "name": "cintimedia", "key": "cintimedia", "displayName": "Rob Gabbard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cintimedia", "key": "cintimedia", "displayName": "Rob Gabbard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 1.0.4.201108101535\r\nTitanium Mobile SDK 1.7.2\r\nXCode 4.1 Build 4B110\r\niOS SDK 4.3\r\nMac OS X 10.7.1", "comment": { "comments": [ { "id": "164713", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Rob\n\nYou should exclude all files in the build folder from your VCS. I am closing as invalid, although feel free to reopen if I have misunderstood. Thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-31T18:31:09.000+0000", "updated": "2011-08-31T18:31:09.000+0000" }, { "id": "164742", "author": { "name": "cintimedia", "key": "cintimedia", "displayName": "Rob Gabbard", "active": true, "timeZone": "America/Los_Angeles" }, "body": "My build folder is not in my VCS. The issue is that my VCS sets files to read-only at check-in (as many do). When those files are copied to the build directory by builder.py, they retain their read-only state. The next build you do after that fails because builder.py is trying to overwrite a read only file.", "updateAuthor": { "name": "cintimedia", "key": "cintimedia", "displayName": "Rob Gabbard", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T04:20:48.000+0000", "updated": "2011-09-01T04:20:48.000+0000" }, { "id": "168264", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-10-07T05:48:08.000+0000", "updated": "2011-10-07T05:48:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }