Skip to content

Commit 8958722

Browse files
authored
profiles: mpv: remove mkfile ~/.netrc (#6735)
To reduce clutter in the user home. This file is apparently intended to specify login information for remote systems, such as username and password for ftp/http connections (similarly to using ~/.ssh/config for ssh connections). From inetutils.info of GNU inetutils 2.6, which provides ftp and telnet binaries (among others): > 11.7 The ‘.netrc’ file > The ‘.netrc’ file contains login and initialization information used > by the auto-login process. It generally resides in the user's home > directory, but a location outside of the home directory can be set > using the environment variable ‘NETRC’. Both locations are overridden > by the command line option ‘-N’. The selected file must be a regular > file, or access will be denied. It seems that the file is intended to be created manually (just like ~/.ssh/config), as it is not mentioned in mpv(1). mpv supports using yt-dlp and ~/.netrc is mentined in yt-dlp(1), though it does not look like it would create the file either. Note also that this entry is not present in any other profile (including the ones that allow ~/.netrc). Related commits: * 5d74179 ("Use whitelisting for video players (#3472)", 2020-08-15) * 8bf892d ("Fix missing mkfile in 5d74179", 2020-08-16) This is a follow-up to #6732.
1 parent 8b60da9 commit 8958722

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

etc/profile-m-z/mpv.profile

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ read-only ${DESKTOP}
5555
mkdir ${HOME}/.cache/mpv
5656
mkdir ${HOME}/.config/mpv
5757
mkdir ${HOME}/.local/state/mpv
58-
mkfile ${HOME}/.netrc
5958
whitelist ${HOME}/.cache/mpv
6059
whitelist ${HOME}/.config/mpv
6160
whitelist ${HOME}/.config/youtube-dl

0 commit comments

Comments
 (0)