[GH-ISSUE #5346] Blacklisting symlink also blacklists the linked directory #2966

Closed
opened 2026-05-05 09:37:49 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @netblue30 on GitHub (Aug 29, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5346

From https://github.com/netblue30/firejail/pull/5344 (@birdie-github)

For example, if ~/foo is blacklisted and it points to /bar, then /bar will also be blacklisted.

Originally created by @netblue30 on GitHub (Aug 29, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/5346 From https://github.com/netblue30/firejail/pull/5344 (@birdie-github) > For example, if ~/foo is blacklisted and it points to /bar, then /bar will also be blacklisted.
gitea-mirror 2026-05-05 09:37:49 -06:00
  • closed this issue
  • added the
    notabug
    label
Author
Owner

@rusty-snake commented on GitHub (Aug 29, 2022):

We should keep the current behaviour IMHO. A symlink says that the directory/file is found somewhere else, so it's still the same directory/file (from a logical view). And programs usually just follow symlinks and write/read their config from the symlinked path.

<!-- gh-comment-id:1230420002 --> @rusty-snake commented on GitHub (Aug 29, 2022): We should keep the current behaviour IMHO. A symlink says that the directory/file is found somewhere else, so it's still the same directory/file (from a logical view). And programs usually just follow symlinks and write/read their config from the symlinked path.
Author
Owner

@netblue30 commented on GitHub (Sep 5, 2022):

Yes, not a bug.

<!-- gh-comment-id:1237008018 --> @netblue30 commented on GitHub (Sep 5, 2022): Yes, not a bug.
Author
Owner

@kmk3 commented on GitHub (Sep 6, 2022):

(Re-closing as "not planned" since nothing was changed in firejail)

<!-- gh-comment-id:1238020717 --> @kmk3 commented on GitHub (Sep 6, 2022): (Re-closing as "not planned" since nothing was changed in firejail)
Author
Owner

@kmk3 commented on GitHub (Sep 6, 2022):

Relates to #5338.

<!-- gh-comment-id:1238057329 --> @kmk3 commented on GitHub (Sep 6, 2022): Relates to #5338.
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#2966
No description provided.