mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1383] Programs with periods in their name fail to use their profile when run via symlink method #945
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#945
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SkewedZeppelin on GitHub (Jul 14, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1383
Examples: gimp-2.8.profile, idea.sh.profile
Related to #1268
@netblue30 commented on GitHub (Jul 16, 2017):
Probably we will have to find another way to extract the name of the application. Currently we go up to the first dot in the name.
@SkewedZeppelin commented on GitHub (Jul 16, 2017):
This is the code yea? https://github.com/netblue30/firejail/blob/master/src/firejail/util.c#L557
Why does it ever need to stop at a period? Removing "*ptr2 != '.' &&" fixes this issue. Wouldn't it just be better to split at a ' ' instead? Is there a weird edge case where there will exist a period after the file name?
What was the issue that
63e0859305fixed?