[GH-ISSUE #732] New profiles #497

Closed
opened 2026-05-05 05:58:56 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @nyancat18 on GitHub (Aug 19, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/732

Hi, could you add profiles for these softwares?: Openshot and Scribus.

Best regards

Originally created by @nyancat18 on GitHub (Aug 19, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/732 Hi, could you add profiles for these softwares?: Openshot and Scribus. Best regards
gitea-mirror 2026-05-05 05:58:56 -06:00
Author
Owner

@nyancat18 commented on GitHub (Aug 19, 2016):

openshot --noprofile
http://gpaste.us/10fa5eb8

openshot
http://gpaste.us/39acb542

scribus
http://gpaste.us/9582a448

scribus --noprofile
http://gpaste.us/00a59ba9

<!-- gh-comment-id:240911880 --> @nyancat18 commented on GitHub (Aug 19, 2016): openshot --noprofile http://gpaste.us/10fa5eb8 openshot http://gpaste.us/39acb542 scribus http://gpaste.us/9582a448 scribus --noprofile http://gpaste.us/00a59ba9
Author
Owner

@lheckemann commented on GitHub (Aug 19, 2016):

You should use firejail --noprofile openshot, because otherwise --noprofile would be interpreted as an option for openshot (while it's actually intended for firejail).

It also seems like openshot isn't starting because it's not found. Scribus is also missing some files. Which distro are you running and how did you install Scribus and Openshot?

Side note, please use some other site than gpaste.us which is almost completely dysfunctional as a result of its adverts/popups. Beyond that, it claims to be secure while still enabling unencrypted HTTP connections... GitHub Gist is a nicer option.

<!-- gh-comment-id:241003465 --> @lheckemann commented on GitHub (Aug 19, 2016): You should use `firejail --noprofile openshot`, because otherwise `--noprofile` would be interpreted as an option for openshot (while it's actually intended for firejail). It also seems like openshot isn't starting because it's not found. Scribus is also missing some files. Which distro are you running and how did you install Scribus and Openshot? Side note, please use some other site than gpaste.us which is almost completely dysfunctional as a result of its adverts/popups. Beyond that, it claims to be secure while still enabling unencrypted HTTP connections... [GitHub Gist](https://gist.github.com/) is a nicer option.
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 20, 2016):

For Openshot, at least, this one seems to do the trick:

# Blacklist/Whitelist

blacklist /usr/local/bin
blacklist /usr/local/sbin
blacklist /media
blacklist /mnt
blacklist /boot

# I use Downloads as my data transfer directory
whitelist ${HOME}/Downloads/
whitelist ${HOME}/Videos/

# Config files
whitelist ${HOME}/.openshot/
whitelist ${HOME}/.gtkrc-2.0
# My GTK 2.0 config is in two files
# whitelist ${HOME}/.gtkrc.mine

private-bin openshot,python,dbus-launch
private-tmp

noroot
protocol unix
shell none
seccomp
caps.drop all

Note that I haven't tested the profile extensively, so some random things may break 😉

<!-- gh-comment-id:241205194 --> @chiraag-nataraj commented on GitHub (Aug 20, 2016): For Openshot, at least, this one seems to do the trick: ``` # Blacklist/Whitelist blacklist /usr/local/bin blacklist /usr/local/sbin blacklist /media blacklist /mnt blacklist /boot # I use Downloads as my data transfer directory whitelist ${HOME}/Downloads/ whitelist ${HOME}/Videos/ # Config files whitelist ${HOME}/.openshot/ whitelist ${HOME}/.gtkrc-2.0 # My GTK 2.0 config is in two files # whitelist ${HOME}/.gtkrc.mine private-bin openshot,python,dbus-launch private-tmp noroot protocol unix shell none seccomp caps.drop all ``` Note that I haven't tested the profile extensively, so some random things may break :wink:
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 20, 2016):

Here's a profile for Scribus:

# Blacklist/Whitelist

blacklist /usr/local/bin
blacklist /usr/local/sbin
blacklist /media
blacklist /mnt
blacklist /boot

# I use Downloads as my data transfer directory
whitelist ${HOME}/Downloads/
whitelist ${HOME}/Documents/

# Config files
whitelist ${HOME}/.scribus/
whitelist ${HOME}/.gtkrc-2.0
# My GTK 2.0 config is in two files
# whitelist ${HOME}/.gtkrc.mine
whitelist ${HOME}/.config/Trolltech.conf

private-bin scribus,dbus-launch,gs
private-tmp

noroot
protocol unix
shell none
seccomp
caps.drop all

Same disclaimer as above.

<!-- gh-comment-id:241206361 --> @chiraag-nataraj commented on GitHub (Aug 20, 2016): Here's a profile for Scribus: ``` # Blacklist/Whitelist blacklist /usr/local/bin blacklist /usr/local/sbin blacklist /media blacklist /mnt blacklist /boot # I use Downloads as my data transfer directory whitelist ${HOME}/Downloads/ whitelist ${HOME}/Documents/ # Config files whitelist ${HOME}/.scribus/ whitelist ${HOME}/.gtkrc-2.0 # My GTK 2.0 config is in two files # whitelist ${HOME}/.gtkrc.mine whitelist ${HOME}/.config/Trolltech.conf private-bin scribus,dbus-launch,gs private-tmp noroot protocol unix shell none seccomp caps.drop all ``` Same disclaimer as above.
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 20, 2016):

The ones above are probably too restrictive to include @netblue30 but...I think they work pretty well and are super-tight profiles

<!-- gh-comment-id:241215509 --> @chiraag-nataraj commented on GitHub (Aug 20, 2016): The ones above are probably too restrictive to include @netblue30 but...I think they work pretty well and are super-tight profiles
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 22, 2016):

@triceratops1 Do the profiles I gave above work for you?

<!-- gh-comment-id:241303259 --> @chiraag-nataraj commented on GitHub (Aug 22, 2016): @triceratops1 Do the profiles I gave above work for you?
Author
Owner

@nyancat18 commented on GitHub (Aug 29, 2016):

yes, but i have a small question
for openshot-qt this would work?

  # Blacklist/Whitelist

blacklist /usr/local/bin
blacklist /usr/local/sbin
blacklist /media
blacklist /mnt
blacklist /boot

# I use Downloads as my data transfer directory
whitelist ${HOME}/Downloads/
whitelist ${HOME}/Videos/

# Config files
whitelist ${HOME}/.openshot-qt/
whitelist ${HOME}/.kde4
# My GTK 2.0 config is in two files
# whitelist ${HOME}/.kde4/share/config/kdebugrc

private-bin openshot-qt,python,dbus-launch
private-tmp

noroot
protocol unix
shell none
seccomp
caps.drop all


pd, your profiles "scribus + openshot" works very fine, thanks

<!-- gh-comment-id:243222658 --> @nyancat18 commented on GitHub (Aug 29, 2016): yes, but i have a small question for openshot-qt this would work? ``` # Blacklist/Whitelist blacklist /usr/local/bin blacklist /usr/local/sbin blacklist /media blacklist /mnt blacklist /boot # I use Downloads as my data transfer directory whitelist ${HOME}/Downloads/ whitelist ${HOME}/Videos/ # Config files whitelist ${HOME}/.openshot-qt/ whitelist ${HOME}/.kde4 # My GTK 2.0 config is in two files # whitelist ${HOME}/.kde4/share/config/kdebugrc private-bin openshot-qt,python,dbus-launch private-tmp noroot protocol unix shell none seccomp caps.drop all ``` pd, your profiles "scribus + openshot" works very fine, thanks
Author
Owner

@netblue30 commented on GitHub (Oct 1, 2016):

Moved to https://github.com/netblue30/firejail/issues/825

<!-- gh-comment-id:250922647 --> @netblue30 commented on GitHub (Oct 1, 2016): Moved to https://github.com/netblue30/firejail/issues/825
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#497
No description provided.