[fpc-pascal] Setting execute bit for a Unix file

David Copeland david.copeland at jsidata.ca
Thu Jul 31 22:29:31 CEST 2014


I agree, you learn something new every day!

Dave.

On 07/31/2014 04:26 PM, Karoly Balogh (Charlie/SGR) wrote:
> Hi,
>
> Naaah, better use FpChmod() in BaseUnix unit:
>
> http://www.freepascal.org/docs-html/rtl/baseunix/fpchmod.html
>
> Charlie
>
> On Thu, 31 Jul 2014, David Copeland wrote:
>
>> You could try FpSystem('chmod +x yourfilename');  // assuming the cwd is set
>>
>> Dave.
>>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list