krishh
krishh

Reputation: 1571

Permission denied to execute cfx command from Firefox Add-on SDK

Recently I have downloaded the latest version of Firefox Add-on SDK, 1.13.2 in my Linuxmint 14 KDE. It worked fined so far as shown in the below commands:

ikrz@iklg570 /media/MyDrive/Dev/MozillaAddons/sdk $ source bin/activate
Welcome to the Add-on SDK. Run 'cfx docs' for assistance.
(sdk)ikrz@iklg570 /media/MyDrive/Dev/MozillaAddons/sdk $ cfx docs
bash: /media/MyDrive/Dev/MozillaAddons/sdk/bin/cfx: Permission denied
(sdk)ikrz@iklg570 /media/MyDrive/Dev/MozillaAddons/sdk $

But, as you can see in above output in terminal (Konsole) the permission to run cfx command was denied. This was working fine when I was using Linuxmint 14 MATE, but 1.12 of Add-on SDK.

I am having one more trouble which is related to user permission questioned at superuser.com.

Upvotes: 1

Views: 449

Answers (1)

therealjeffg
therealjeffg

Reputation: 5830

The files in the bin directory do not have the execute bit permission:

https://gist.github.com/canuckistani/5008348

As a test I downloaded 1.13.2 as a tarball and unpacked it, you can see what the directory should look like in the 'correct.sh' part of the gist. I used the following commands:

wget https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/addon-sdk-1.13.2.tar.gz
tar xfz addon-sdk-1.13.2.tar.gz

The directory I did this in is owned by my user, and is a local file system. YMMV.

Upvotes: 1

Related Questions