Assign rwx to /usr/ports directories owned by _portzap group

This commit is contained in:
0x1eef 2023-01-24 05:32:09 -03:00
parent bba078f652
commit d72030f6bc

View file

@ -2,7 +2,7 @@
ports_dir=$1 ports_dir=$1
libexec_dir=$2 libexec_dir=$2
group=_portzap group=_portzap
mode=u=rwx,g=rx,o= mode=u=rwx,g=rwx,o=
for i in $(seq 3 $#); do for i in $(seq 3 $#); do
relative_portzap_dir=$(eval echo -n \${$i}) relative_portzap_dir=$(eval echo -n \${$i})
# Install directory # Install directory