diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-09-05 19:59:36 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2007-09-05 19:59:36 +0000 |
commit | f5408a17ac87c54a7a991e310147debf95123a5d (patch) | |
tree | 19136df6152b02ede0d9517e9fa27878f9994a63 /orkbasecxx/audiofile/MediaChunkFile.cpp | |
parent | 3aeac353ac9ecfdbbb29c80fa683628af070b019 (diff) |
Added functionality to set the ownership of the directories leading up to the media file to the values specified in config.xml
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@481 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/audiofile/MediaChunkFile.cpp')
-rw-r--r-- | orkbasecxx/audiofile/MediaChunkFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orkbasecxx/audiofile/MediaChunkFile.cpp b/orkbasecxx/audiofile/MediaChunkFile.cpp index 314f337..3856be5 100644 --- a/orkbasecxx/audiofile/MediaChunkFile.cpp +++ b/orkbasecxx/audiofile/MediaChunkFile.cpp @@ -176,7 +176,7 @@ void MediaChunkFile::Open(CStdString& filename, fileOpenModeEnum mode, bool ster } else { - FileRecursiveMkdir(m_filename); + FileRecursiveMkdir(m_filename, CONFIG.m_audioFilePermissions, CONFIG.m_audioFileOwner, CONFIG.m_audioFileGroup, CONFIG.m_audioOutputPath); m_stream = ACE_OS::fopen((PCSTR)m_filename, "wb"); if(CONFIG.m_audioFilePermissions) |