Skip to content

Commit

Permalink
profiles: mov-cli: remove ffmpeg & allow more paths (#6304)
Browse files Browse the repository at this point in the history
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 <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
  • Loading branch information
pirate486743186 authored Apr 11, 2024
1 parent c69b4b4 commit 403d9ae
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions etc/profile-m-z/mov-cli.profile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 403d9ae

Please sign in to comment.