I installed ReviewBoard yesterday on CentOS 7 with the command 'yum install ReviewBoard'. We got it working by making all files owned by apache. Today, I updated the software through easy_install and manually updated/upgraded my site and tried to tighten up the file permissions.
The problem I had was that every time I changed ownership of /var/www/reviewboard/htdocs/{media,static}/ext and restarted the web server, the file ownership changed back to root:root. After a lot of head-scratching and blind alleys, we finally found it was because there is a reviewboard configuration file as part of systemd that runs "rb-site upgrade --all-sites" every time the web server restarts. This script rebuilds the directories and resets file ownership incorrectly. I would call this a bug, but wanted to check before hunting down the bug-reporting mechanism. Our work around is simply to comment out the line that invokes the rb-site script: $ cat /usr/lib/systemd/system/httpd.service.d/reviewboard-sites.conf #[Service] #ExecStartPre=/usr/bin/rb-site upgrade --all-sites [Unit] After=postgresql.service mariadb.service mysql.service memcached.service -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.