This document provides an approach for setting permissions for your BookStack instance, which allows updating by the login user while providing the webserver with the required permissions.
The below makes the following assumptions, you will need to change these parts of the command to make it work for you:
- Your normal login user (That you may run updates with) is called
barry
. - Your bookstack folder is located at
/var/www/bookstack
. - Your webserver/php user called
www-data
(Default on Ubuntu systems).