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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to