world-writable output files

The place to discuss linux version of MakeMKV
Post Reply
henk84
Posts: 13
Joined: Mon Oct 17, 2022 11:16 am

world-writable output files

Post 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 …
Post Reply