Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3249] Drillbit: iOS only requires a change of permission or else it fails during launch

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-05-16T11:01:38.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-11
ComponentsiOS
Labelsdefect, drillbit, drilllbit, ios, release-1.7.0, tooling
ReporterNatalie Huynh
AssigneeMarshall Culpepper
Created2011-04-15T03:40:27.000+0000
Updated2011-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)

Comments

  1. Jeff Haynie 2011-04-15

    (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...

  2. Natalie Huynh 2011-04-15

    Tested with Titanium SDK version: 1.7.0 (03/18/11 16:54 8b1684a) Drillbit runs without needing to change permission

  3. Jeff Haynie 2011-04-15

    (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...

  4. Natalie Huynh 2011-04-22

    Tested with 1.7.0 (9042d2d)

JSON Source