Page 1 of 1

world-writable output files

Posted: Wed Jan 25, 2023 8:17 pm
by henk84
Hi

"makemkvcon mkv" seems to create files with permissions like the following

Code: Select all

.rw-rw-rw-  95M henk 21 Jan 10:51 Deleted_Scenes_-_Aftermath.mkv
After running this file through handbrake, the permissions are the following:

Code: Select all

.rw-r--r--  16M henk 25 Jan 16:25 Deleted_Scenes_-_Aftermath_handbraked.mkv
I only noticed the files being world-writable because of the different permissions of makemkv’s vs handbrake’s output.

It seems like makemkv does not honor the umask:

Code: Select all

% umask
022
Am I doing anything wrong or is that normal?
Is it intended?
Is there a way to change that?
Files being world-writable is a Very Bad Idea in some setups …