From 1aaa53c45a2e56fb05cc170b3476e591980e1b1f Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 17 May 2005 15:12:51 +0000 Subject: Fixed file rights (All read on files and directories, and all execute on directories). --- src/mov_encoder_thread.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mov_encoder_thread.cc') 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; -- cgit v1.2.3