--- modules/urar.c 2007-05-14 20:21:23.000000000 +0200 +++ modules/urar.c 2009-02-09 13:48:56.780225932 +0100 @@ -587,7 +587,7 @@ if(res < 0) return res; - fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC); + fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC, 0644); if(fd == -1) { res = -errno; av_log(AVLOG_ERROR, "RAR: Could not open %s: %s", tmpfile,