Directory Permissions lazarus / 3-General ---------------------------------------------------------------------- Riccardo Giuliani · 2009-05-17 23:09 Hi to all I'm writing a little cross-platform application, which I need to solve a question for: how to retrieve permissions of a directory? Is there a general method or should I adapt my program in any situation? Thank you ---------------------------------------------------------------------- clauslack · 2009-06-02 00:35 Look at this depend of you need FreePascal RTL http://www.freepascal.org/docs-html/rtl/index.html From BaseUnix http://www.freepascal.org/docs-html/rtl/baseunix/fpaccess.html http://www.freepascal.org/docs-html/rtl/baseunix/fpchmod.html http://www.freepascal.org/docs-html/rtl/baseunix/fpchown.html For Get File Owner in Windows (NT/XP..) Windows API http://www.swissdelphicenter.ch/torry/showcode.php?id=416 From sysutils (works in linux and windows) http://www.freepascal.org/docs-html/rtl/sysutils/filegetattr.html etc, etc.. Regards ---------------------------------------------------------------------- Riccardo Giuliani · 2009-07-04 10:50 Thank you, clauslack. I've seen your reply only now, due to a big amount of commitments.