Le 28/01/2017 à 20:03, Benoît Minisini a écrit :
> Le 28/01/2017 à 18:07, Marty a écrit :
>> Want to run a script file packaged within the Gambas project. Tried the
>> method below.
>>
>> DIM sTempScript as String
>>
>> sTempScript = Temp$
>>
>> COPY "update.sh" TO sTempscript
>>
>> SHELL sTempScript WAIT
>>
>> Does not work for me. All of the python files are in the gambas project
>> directory and have execute permissions.
>>
>> The error is: /bin/sh:1:/tmp/gambas.1000/3092/1.tmp permission denied
>>
>> What do I change to allow the python programs to run? Is it the project
>> directory?
>>
>> Thanks,
>> Marty
>>
>
> Did you set execution rights on the shell file?
>

I mean on the copy. The permissions on the original file are ignored 
once you make an executable (they are all read-only and not executable).

-- 
Benoît Minisini

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to