[fpc-pascal] Setting execute bit for a Unix file
Karoly Balogh (Charlie/SGR)
charlie at scenergy.dfmk.hu
Thu Jul 31 22:26:16 CEST 2014
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.
>
> On 07/31/2014 04:18 PM, Juha Manninen wrote:
> > Hello
> >
> > How can I set a file flag (execute) using Pascal code in a Linux system?
> >
> > Juha
> > _______________________________________________
> > fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
> _______________________________________________
> 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