[PR #6736] [MERGED] profiles: curl: allow ~/.netrc #6150

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

📋 Pull Request Information

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

Base: masterHead: curl-allow-netrc


📝 Commits (1)

  • 70837f2 profiles: curl: allow ~/.netrc

📊 Changes

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

View changed files

📝 etc/profile-a-l/curl.profile (+1 -0)

📄 Description

From curl(1):

-n, --netrc
Make curl scan the .netrc file in the user's home directory for
login name and password. This is typically used for FTP on
Unix. If used with HTTP, curl enables user authentication. See
netrc(5) and ftp(1) for details on the file format. curl does
not complain if that file does not have the right permissions
(it should be neither world- nor group-readable). The
environment variable "HOME" is used to find the home directory.

Environment: curl 8.13.0-2 on Artix Linux.

This is a follow-up to #6735.


🔄 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/6736 **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:** `curl-allow-netrc` --- ### 📝 Commits (1) - [`70837f2`](https://github.com/netblue30/firejail/commit/70837f2426ad83531954778f31c8f9e863de2135) profiles: curl: allow ~/.netrc ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/profile-a-l/curl.profile` (+1 -0) </details> ### 📄 Description From curl(1): > -n, --netrc > Make curl scan the .netrc file in the user's home directory for > login name and password. This is typically used for FTP on > Unix. If used with HTTP, curl enables user authentication. See > netrc(5) and ftp(1) for details on the file format. curl does > not complain if that file does not have the right permissions > (it should be neither world- nor group-readable). The > environment variable "HOME" is used to find the home directory. Environment: curl 8.13.0-2 on Artix Linux. This is a follow-up to #6735. --- <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:39 -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#6150
No description provided.