[fpc-pascal] linux ACL

2015-01-23 Thread Koenraad Lelong
Hi, I need to set ACL's on files on Linux. Is there something ready-made in fpc ? Or should I use a TProcess and execute a setfacl that way ? TIA Koenraad ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bi

Re: [fpc-pascal] linux ACL

2015-01-23 Thread Michael Van Canneyt
On Fri, 23 Jan 2015, Koenraad Lelong wrote: Hi, I need to set ACL's on files on Linux. Is there something ready-made in fpc ? Or should I use a TProcess and execute a setfacl that way ? I have no knowledge of a native implementation. Please, add a feature request to the bugtracker to add

Re: [fpc-pascal] linux ACL

2015-01-23 Thread Henry Vermaak
On Fri, Jan 23, 2015 at 11:37:05AM +0100, Koenraad Lelong wrote: > Hi, > > I need to set ACL's on files on Linux. Is there something ready-made > in fpc ? Or should I use a TProcess and execute a setfacl that way ? Easiest would be to create a binding for libacl. ACL is specified by POSIX, so th

Re: [fpc-pascal] linux ACL

2015-01-23 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On Fri, Jan 23, 2015 at 11:37:05AM +0100, Koenraad Lelong wrote: Hi, I need to set ACL's on files on Linux. Is there something ready-made in fpc ? Or should I use a TProcess and execute a setfacl that way ? Easiest would be to create a binding for libacl. ACL is specifie

Re: [fpc-pascal] linux ACL

2015-01-23 Thread Henry Vermaak
On Fri, Jan 23, 2015 at 11:33:51AM +, Mark Morgan Lloyd wrote: > Henry Vermaak wrote: > >On Fri, Jan 23, 2015 at 11:37:05AM +0100, Koenraad Lelong wrote: > >>Hi, > >> > >>I need to set ACL's on files on Linux. Is there something ready-made > >>in fpc ? Or should I use a TProcess and execute a s