diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-09-04 19:56:54 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-09-04 19:56:54 +0000 |
commit | 13d24d7f97fe6e739c47388279c63b961a7b8bc3 (patch) | |
tree | fe88e699741858ae0459d5b43e1c7b2422cd7dc0 /orkbasecxx/Utils.h | |
parent | 01240e01f8e4e63cbbdfebfb8b566e61e454cc7a (diff) |
Ownership and permissions for MCF files now set at creation time, ownership and permissions code moved to Utils.cpp/h
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@479 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Utils.h')
-rw-r--r-- | orkbasecxx/Utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/orkbasecxx/Utils.h b/orkbasecxx/Utils.h index f6d1762..dd82b76 100644 --- a/orkbasecxx/Utils.h +++ b/orkbasecxx/Utils.h @@ -74,6 +74,8 @@ CStdString DLL_IMPORT_EXPORT_ORKBASE FilePath(CStdString& path); CStdString DLL_IMPORT_EXPORT_ORKBASE FileStripExtension(CStdString& filename); bool DLL_IMPORT_EXPORT_ORKBASE FileCanOpen(CStdString& path); void DLL_IMPORT_EXPORT_ORKBASE FileRecursiveMkdir(CStdString& path); +int DLL_IMPORT_EXPORT_ORKBASE FileSetPermissions(CStdString filename, int permissions); +int DLL_IMPORT_EXPORT_ORKBASE FileSetOwnership(CStdString filename, CStdString owner, CStdString group); //===================================================== |