From 403d9aedb2162de90c7d8cb9e70901837d1e8ffa Mon Sep 17 00:00:00 2001 From: pirate486743186 <429925+pirate486743186@users.noreply.github.com> Date: Thu, 11 Apr 2024 06:23:11 +0200 Subject: profiles: mov-cli: remove ffmpeg & allow more paths (#6304) Changes: * Remove ffmpeg from private-bin * Allow download folder * It needs an editor to allow editing the config, so I put in nano; sh and uname are used for launching nano Co-authored-by: exponential --- etc/profile-m-z/mov-cli.profile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/profile-m-z/mov-cli.profile b/etc/profile-m-z/mov-cli.profile index 1efd1e8f9..85f72f478 100644 --- a/etc/profile-m-z/mov-cli.profile +++ b/etc/profile-m-z/mov-cli.profile @@ -10,11 +10,16 @@ include mov-cli.local noblacklist ${HOME}/.config/mov-cli +# Allow /bin/sh (blacklisted by disable-shell.inc) +include allow-bin-sh.inc + include disable-proc.inc include disable-xdg.inc mkdir ${HOME}/.config/mov-cli whitelist ${HOME}/.config/mov-cli +whitelist ${DOWNLOADS} +whitelist /usr/share/nano include whitelist-run-common.inc include whitelist-runuser-common.inc @@ -24,9 +29,9 @@ noprinters notv disable-mnt -private-bin ffmpeg,fzf,mov-cli +private-bin fzf,mov-cli,nano,sh,uname #private-cache -private-etc X11,alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,magic,magic.mgc,mime.types,nsswitch.conf,pango,passwd,pki,protocols,pulse,resolv.conf,rpc,services,ssl,xdg +private-etc X11,alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,magic,magic.mgc,mime.types,nanorc,nsswitch.conf,pango,passwd,pki,protocols,pulse,resolv.conf,rpc,services,ssl,xdg private-tmp # Redirect -- cgit v1.2.3-70-g09d2