Open
Description
Describe the bug
I get an error in every potluck I try to install.
Normal pot creation is fine
I run Freebsd 14.1
This the output:
Step 23: Clean cook artifacts
Step 24: Install pot local
Step 25: Set file ownership on cook scripts
chown: /usr/local/bin/cook: No such file or directory
chown: /usr/local/share/cook: No such file or directory
ERROR: Set file ownership on cook scripts failed
and step 23-> 25 is:
step "Clean cook artifacts"
rm -rf /usr/local/bin/cook /usr/local/share/cook
step "Install pot local"
tar -C /root/.pot_local -cf - . | tar -C /usr/local -xf -
rm -rf /root/.pot_local
step "Set file ownership on cook scripts"
chown -R root:wheel /usr/local/bin/cook /usr/local/share/cook
chmod 755 /usr/local/share/cook/bin/*
To Reproduce
Steps to reproduce the behavior:
- Use this potluck: https://github.com/bsdpot/potluck/tree/master/mariadb
- Run this command: mariadb.sh
- See error as shown above in the bug section
I expect thetar -C /root/.pot_local -cf - . | tar -C /usr/local -xf -
fails
Expected behavior
The pot is created and mariadb is installed
System configuration - if possible
/usr/local/etc/pot/pot.conf
(not needed I presume as the normal pots are created as I expect and work fine)
** If network related **
not related to network issues, a normal pot works fine with my network settings