danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
252 stars 71 forks source link

Permission denied at starting the script (script nextcloud.log ./nextcloud-jail.sh) #168

Closed vanDariu closed 3 years ago

vanDariu commented 3 years ago

Inexperienced user... Sorry...

At the EXECUTION stage, the script is stoping immediately with the message: „Permission denied”. I'm running a Truenas core as root, inside the built-in shell. I tried to find errors in the syntax, but I didn't notice any. Is this easily correctable?

danb35 commented 3 years ago

Try chmod +x nextcloud-jail.sh, and then try again--I think I'm missing a permissions bit.

vanDariu commented 3 years ago

Yes, now it's working. Thank you!