• Rémi Denis-Courmont's avatar
    config: if read-only, refuse to save the configuration · eb54a41c
    Rémi Denis-Courmont authored
    This restores the pre-1.0.0 behaviour. With the atomic vlcrc update,
    VLC managed to work-around a read-only vlcrc. Indeed, Linux (POSIX?)
    allows renaming a file onto an existing read-only file, which is
    then replaced (both content and meta-data). In principle, you should
    put the containing directory in read-only mode to avoid this, but this
    is inconvenient as .config/vlc contains other files.
    eb54a41c
file.c 24.8 KB