IbcAlpha / IBC

Automation of Interactive Brokers TWS. You can download the latest release here: https://github.com/ibcalpha/ibc/releases/latest
GNU General Public License v3.0
1.02k stars 178 forks source link

Permission denied: '/opt/ibc/scripts/ibcstart.sh' #65

Closed joan-arau closed 4 years ago

joan-arau commented 4 years ago

Using Ibcontroller(from ib_insync) I am getting this error message:

PermissionError: [Errno 13] Permission denied: '/opt/ibc/scripts/ibcstart.sh'

I have done this in the terminal:

cd /opt/ibc sudo chmod o+x *.sh /.sh

ls -l gives this:

-rw-r--r-x@ 1 USER staff 13606 4 Jun 12:37 ibcstart.sh

shevkoplyas commented 4 years ago

Joan,

instead of "o+x" do the "u+x" explanation: see man pages for chmod here https://linux.die.net/man/1/chmod, in particular this quote:

Instead of one or more of these letters, you can specify exactly one of the letters ugo: the permissions granted to the user who owns the file (u), the permissions granted to other users who are members of the file's group (g), and the permissions granted to users that are in neither of the two preceding categories (o). (end of quote)

You're doing it for "o" (which is "other") and I suggest to do for "u" (which is "user") or you can make it "a+x" (which is all, so all can execute)

cheers, Dmitry Shevkoplyas

On Mon, Oct 14, 2019 at 8:50 PM joan notifications@github.com wrote:

Using Ibcontroller I am getting this error message:

PermissionError: [Errno 13] Permission denied: '/opt/ibc/scripts/ibcstart.sh'

I have done this in the terminal:

cd /opt/ibc sudo chmod o+x *.sh /.sh

ls -l gives this:

-rw-r--r-x@ 1 USER staff 13606 4 Jun 12:37 ibcstart.sh

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/IbcAlpha/IBC/issues/65?email_source=notifications&email_token=ABALKPKXROVC5YCP67CWNF3QOUHVVA5CNFSM4JAVV7W2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRXKA2Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABALKPNHQDWFVX32WNWI36DQOUHVVANCNFSM4JAVV7WQ .