[PR #6735] [MERGED] profiles: mpv: remove mkfile ~/.netrc #6146

Closed
opened 2026-05-05 10:51:35 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6735
Author: @kmk3
Created: 5/4/2025
Status: Merged
Merged: 5/6/2025
Merged by: @kmk3

Base: masterHead: mpv-remove-mkfile-netrc


📝 Commits (1)

  • ff8ce8e profiles: mpv: remove mkfile ~/.netrc

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 etc/profile-m-z/mpv.profile (+0 -1)

📄 Description

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:

This is a follow-up to #6732.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/6735 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 5/4/2025 **Status:** ✅ Merged **Merged:** 5/6/2025 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `mpv-remove-mkfile-netrc` --- ### 📝 Commits (1) - [`ff8ce8e`](https://github.com/netblue30/firejail/commit/ff8ce8ea0b6e0b19fb070cfaa643d7101cfc919a) profiles: mpv: remove mkfile ~/.netrc ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `etc/profile-m-z/mpv.profile` (+0 -1) </details> ### 📄 Description 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: * 5d741795c ("Use whitelisting for video players (#3472)", 2020-08-15) * 8bf892d67 ("Fix missing mkfile in 5d741795c3bb2060730e282a8f512b999418e098", 2020-08-16) This is a follow-up to #6732. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:51:35 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#6146
No description provided.