Screenshot files have mode 600 now
Author: zeromindCreated Sep 23, 2026Updated Sep 23, 2026
Labelsos:linux
mpv Information
mpv v0.41.0-1055-g6fd80b200 Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
built on Sep 23 2026 12:16:33
libplacebo version: v7.372.0 (v7.360.0-131-ge2972fdd)
FFmpeg version: N-126780-ga6e5d5ff99
FFmpeg library versions:
libavcodec 63.14.100
libavdevice 63.2.100
libavfilter 12.4.100
libavformat 63.7.100
libavutil 61.7.100
libswresample 7.3.100
libswscale 10.2.100Other Information
- Linux version: Gentoo
- Kernel Version: 6.18.48-gentoo-dist-bin
- GPU Model: AMD Radeon 9070 XT
- Mesa/GPU Driver Version: 26.1.8
- Window Manager and Version: KDE Plasma 6.7.5
- Source of mpv: built using mpv-build
- Latest known working version: 6d5c8591eb6ce3a2b2d5cabfe1802e06c5918cdc
- Issue started after the following happened: updating mpv from 0.41.0 to latest git masterReproduction Steps
- Open video file
- Take screenshot
Expected Behavior
Created screenshot file has mode 644.
With mpv 0.41.1 it was 644 for me: I assume from 666, respecting umask (0022).
Actual Behavior
Created screenshot file has mode 600.
Log File
zeromind@remilia ~> /home/zeromind/src/github.com/mpv-player/mpv-build/mpv/build/mpv --no-config --pause --gpu-debug --log-file=output.txt Pictures/gnosia_keyboard.mp4
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: UDTA parsing failed retrying raw
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: UDTA parsing failed retrying raw
● Video --vid=1 --vlang=jpn (hevc 1920x1080 23.9804 fps 5257 kbps) [default]
● Audio --aid=1 --alang=jpn (aac 2ch 48000 Hz 192 kbps) [default]
WARNING: radv is not a conformant Vulkan implementation, testing use only.
AO: [pipewire] 48000Hz stereo 2ch floatp
VO: [gpu-next] 1920x1080 yuv420p10
Screenshot: 'mpv-shot0001.jpg'
(Paused) AV: 00:00:00 / 00:00:04 (0%) A-V: 0.000
Exiting... (Quit)
zeromind@remilia ~> stat mpv-shot0001.jpg
File: mpv-shot0001.jpg
Size: 57329 Blocks: 112 IO Block: 4096 regular file
Device: 252,0 Inode: 806218723 Links: 1
Access: (0600/-rw-------) Uid: ( 1000/zeromind) Gid: ( 100/ users)
Access: 2026-09-23 12:25:37.656511172 +0000
Modify: 2026-09-23 12:25:37.103180473 +0000
Change: 2026-09-23 12:25:37.103180473 +0000
Birth: 2026-09-23 12:25:37.096513839 +0000
zeromind@remilia ~> umask
0022Sample Files
No response
I carefully read all instruction and confirm that I did the following:
- I tested and confirmed that the issue exists with the latest release version or newer.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.
Source: mpv-player/mpv