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

2014-07-31 Thread Juha Manninen
On Thu, Jul 31, 2014 at 11:26 PM, Karoly Balogh (Charlie/SGR) wrote: > Naaah, better use FpChmod() in BaseUnix unit: > http://www.freepascal.org/docs-html/rtl/baseunix/fpchmod.html Right, I was looking at page http://www.freepascal.org/docs-html/rtl/unix/index-5.html but did not notice this one

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

2014-07-31 Thread David Copeland
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: > >> Yo

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

2014-07-31 Thread Karoly Balogh (Charlie/SGR)
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

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

2014-07-31 Thread David Copeland
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] Setting execute bit for a Unix file

2014-07-31 Thread Juha Manninen
Hello How can I set a file flag (execute) using Pascal code in a Linux system? Juha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal