From 20d43a6772739b276c2523d9e8b9911258dba05e Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Tue, 26 Sep 2023 04:18:28 +0000 Subject: [PATCH] profiles: dpkg fix (#6019) --- etc/profile-a-l/file-roller.profile | 4 +++- etc/profile-a-l/freemind.profile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/profile-a-l/file-roller.profile b/etc/profile-a-l/file-roller.profile index b32f7595c05..cc1a290ef86 100644 --- a/etc/profile-a-l/file-roller.profile +++ b/etc/profile-a-l/file-roller.profile @@ -6,6 +6,8 @@ include file-roller.local # Persistent global definitions include globals.local +noblacklist ${PATH}/dpkg* + include disable-common.inc include disable-devel.inc include disable-exec.inc @@ -40,7 +42,7 @@ seccomp seccomp.block-secondary tracelog -private-bin 7z,7za,7zr,ar,arj,atool,bash,brotli,bsdtar,bzip2,compress,cp,cpio,dpkg-deb,file-roller,gtar,gzip,isoinfo,lha,lrzip,lsar,lz4,lzip,lzma,lzop,mv,p7zip,rar,rm,rzip,sh,tar,unace,unalz,unar,uncompress,unrar,unsquashfs,unstuff,unzip,unzstd,xz,xzdec,zip,zoo,zstd +private-bin 7z,7za,7zr,ar,arj,atool,bash,brotli,bsdtar,bzip2,compress,cp,cpio,dpkg*,file-roller,gtar,gzip,isoinfo,lha,lrzip,lsar,lz4,lzip,lzma,lzop,mv,p7zip,rar,rm,rzip,sh,tar,unace,unalz,unar,uncompress,unrar,unsquashfs,unstuff,unzip,unzstd,xz,xzdec,zip,zoo,zstd private-cache private-dev private-etc @x11 diff --git a/etc/profile-a-l/freemind.profile b/etc/profile-a-l/freemind.profile index 9bf5a14be87..80958d305ef 100644 --- a/etc/profile-a-l/freemind.profile +++ b/etc/profile-a-l/freemind.profile @@ -9,6 +9,8 @@ include globals.local noblacklist ${DOCUMENTS} noblacklist ${HOME}/.freemind +noblacklist ${PATH}/dpkg* + # Allow java (blacklisted by disable-devel.inc) include allow-java.inc @@ -40,7 +42,7 @@ seccomp tracelog disable-mnt -private-bin bash,cp,dirname,dpkg,echo,freemind,grep,java,lsb_release,mkdir,readlink,rpm,sed,sh,uname,which +private-bin bash,cp,dirname,dpkg*,echo,freemind,grep,java,lsb_release,mkdir,readlink,rpm,sed,sh,uname,which private-cache private-dev #private-etc alternatives,fonts,java*