[fpc-pascal] How to get the permission f a file ?

fredvs fiens at hotmail.com
Wed Jun 17 16:42:24 CEST 2015


Hello.

With fpchmod(), it is possible to change the permission of a file.

Perfect.

But how to check if a file has executable permission (and if not, change it
with fpchmod(thefile S_IRWXU);) ?

Many thanks.

Fre;D   



-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/How-to-get-the-permission-f-a-file-tp5721836.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list