diff options
author | deva <deva> | 2005-05-17 15:12:51 +0000 |
---|---|---|
committer | deva <deva> | 2005-05-17 15:12:51 +0000 |
commit | 1aaa53c45a2e56fb05cc170b3476e591980e1b1f (patch) | |
tree | 0f6db03a47fc9c429c1314b5f08316e12137ddb4 /src/mov_encoder_thread.cc | |
parent | e3710646f6557a1592fbffa910ebed674cd9edf0 (diff) |
Fixed file rights (All read on files and directories, and all execute on directories).
Diffstat (limited to 'src/mov_encoder_thread.cc')
-rw-r--r-- | src/mov_encoder_thread.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mov_encoder_thread.cc b/src/mov_encoder_thread.cc index a913e7b..99fd908 100644 --- a/src/mov_encoder_thread.cc +++ b/src/mov_encoder_thread.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.2 2005/05/17 15:12:51 deva + * Fixed file rights (All read on files and directories, and all execute on directories). + * * Revision 1.1 2005/05/17 14:30:56 deva * Added code, preparing threaded encoding. * @@ -41,7 +44,7 @@ MovEncoderThread::MovEncoderThread(const char *filename) { - file = open(filename, O_CREAT | O_EXCL); + file = open(filename, O_CREAT | O_EXCL, S_IRWXU | S_IRGRP | S_IROTH); threads = 4; |