Closed Bug 826989 Opened 12 years ago Closed 11 years ago

cfx needs executable permission

Categories

(Add-on SDK Graveyard :: Documentation, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: arky, Unassigned)

Details

The installation documentation fails to mention that you need to set executable bit on cfx binary on linux/unix machines

 chmod +x bin/cfx
Where did you download the SDK from? I got it here: 

https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-latest.zip

I seem to have the executable bit:

jeff@aer ~> la addon-sdk-1.12/bin/
total 56
drwxr-xr-x   9 jeff  staff   306B  4 Dec 12:01 .
drwxr-xr-x  14 jeff  staff   476B  4 Dec 12:01 ..
-rw-r--r--   1 jeff  staff   2.3K  4 Dec 12:01 activate
-rw-r--r--   1 jeff  staff   4.3K  4 Dec 12:01 activate.bat
-rw-r--r--   1 jeff  staff   2.6K  4 Dec 12:01 activate.ps1
-rwxr-xr-x   1 jeff  staff   1.1K  4 Dec 12:01 cfx
-rw-r--r--   1 jeff  staff   256B  4 Dec 12:01 cfx.bat
-rw-r--r--   1 jeff  staff   550B  4 Dec 12:01 deactivate.bat
drwxr-xr-x   4 jeff  staff   136B  4 Dec 12:01 integration-scripts
That probably requires whatever you use to do the zip extraction to honour the permissions bit, though I think most do. Tar is probably more reliable.
I noticed that users who checked out from git and downloaded the zip had this problem at Add-on SDK workshop in Hanoi
Summary: cfx news executable permission → cfx needs executable permission
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.