[TIMOB-3249] Drillbit: iOS only requires a change of permission or else it fails during launch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-16T11:01:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-11 |
Components | iOS |
Labels | defect, drillbit, drilllbit, ios, release-1.7.0, tooling |
Reporter | Natalie Huynh |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:40:27.000+0000 |
Updated | 2011-05-16T11:01:38.000+0000 |
Description
Steps
1. Go to Drillbit path and run drillbit.py
2. Run a test specific to iOS
Result:
Permission denied
Expected:
To be able to run the selected test in iOS
Workaround:
chmod -R 755 on
/titanium_mobile/dist/mobilesdk/osx/1.7.0/iphone/
Build:
Titanium version: 1.7.0 (03/02/11 13:57 5d8c78a)
(from [8b1684a160ef69770f1415323eb7c714edad7af0]) [#3249 state:fixed-in-qa] Make drillbit use unzip on Darwin platform as python's zipfile module does not preserve permissions when expanding archives https://github.com/appcelerator/titanium_mobile/commit/8b1684a160ef69770f1415323eb7c714edad7af0"> https://github.com/appcelerator/titanium_mobile/commit/8b1684a160ef...
Tested with Titanium SDK version: 1.7.0 (03/18/11 16:54 8b1684a) Drillbit runs without needing to change permission
(from [1721d9bf97467ac175788354ad7d0b5465b0dc15]) [#3249 state:fixed-in-qa] Use subprocess.Popen with array of parameters instead of os.system with a string https://github.com/appcelerator/titanium_mobile/commit/1721d9bf97467ac175788354ad7d0b5465b0dc15"> https://github.com/appcelerator/titanium_mobile/commit/1721d9bf9746...
Tested with 1.7.0 (9042d2d)