-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update telegram.profile #3897
Update telegram.profile #3897
Conversation
Allow Telegram ONLY in .TelegramDesktop, .local/share/TelegramDesktop and Downloads
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except that include
s should go by name and not by path.
BTW: There's a lot more we can do on telegram.profile, see #3638 (comment).
OT: TelegramDesktop is a electron too if I'm right. We should refactor it too.
Optimized "include whitelist-common.inc"
TelegramDesktop is Qt-based desktop client afaik. |
try these.Hopefully it will work |
Thanks @Neo00001 I found very interesting your suggestion about --edit |
yes.& these also
my
I'm on kde btw, for other DE it will be different though. if you have some other folders/programs in
depending upon your usecase, you may restrict much more. |
That's also interesting!
Could be useful to find a basic config ready for all DE. |
what were exposed? |
Ah, ADDED to my submitted lines! |
So, @Neo00001, you are on KDE. My install:
The following lines work perfect to me (Gnome and Xfce) and probably in KDE too.
|
Adding the following lines, seems absolutely better:
I could be possible that using private-dev, phone calls will not be allowed. I have these few errors in logs:
But Telegram (chat) seems to work fine. |
yes.It works for kde also.
this probably occurs without firejail also. try to run
try all of my suggestions except btw,what's the output of |
You're right!
fixed as in #3614
All seems fine in terminal, but not the launcher (fails)
Each one of the following fail to desktop launcher
Maybe we also need to whitelist launcher location.
|
So when you run
did you use any software to create this desktop entry? |
exactly. It's a bit strange
no, no errors. if all params in TESTING are enables (see below the full lines added to the default one) .desktop file just doesn't work
done by myself. Now Here is the actual working config:
|
All is now fixed using the Debian Backport Package (0.9.64-1~bpo10+1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you follow our profile ordering/sorting from profile.template.
Done |
merged, thanks. |
You're welcome! :-) |
Allow Telegram ONLY in .TelegramDesktop, .local/share/TelegramDesktop and Downloads
If your PR isn't about profiles or you have no idea how to do one of these, skip the following and go ahead with this PR.
If you make a PR for new profiles or changeing profiles please do the following:
The ordering of options follow the rules descripted in /usr/share/doc/firejail/profile.template.
Order the arguments of options alphabetical, you can easy do this with the sort.py.
The path to it depends on your distro:
/usr/lib64/firejail/sort.py
/usr/lib/x86_64-linux-gnu/firejail/sort.py
contrib/sort.py
Note also that the sort.py script exists only since firejail
0.9.61
.See also CONTRIBUTING.md.