Hi Florian,

This may be caused by SELinux. I know the RPMs for stable releases contain
SELinux rules for this, and maybe those can be extracted and used here. (I
want to start shipping those ourselves as well.)

Permissions otherwise look fine, so SELinux would be my guess. You should
also see the same problem with 2.5.x.

Christian

On Wed, Jul 26, 2017 at 6:52 AM, Florian Mocanu <[email protected]>
wrote:

> Hello,
> After installing on CentOS7 I cannot access the site due to permissions to
> the files. (see the screen shot)
>
> But here are the rights and ownership:
>
> [root@reviews3 www]# ls -al /var/www/reviews3.smart-x.net/
> total 0
> drwxr-xr-x. 2 root   root 94 iul 26 16:17 conf
> drwxr-xr-x. 2 apache root  6 iul 26 16:17 data
> drwxr-xr-x. 4 root   root 70 iul 26 16:36 htdocs
> drwxr-xr-x. 2 root   root  6 iul 26 16:17 logs
> drwxrwxrwx. 2 root   root  6 iul 26 16:17 tmp
>
>
> [root@reviews3 www]# ls -al /var/www/reviews3.smart-x.net/htdocs/media/
> total 4
> drwxr-xr-x. 2 apache root   6 iul 26 16:17 ext
> -rw-r--r--. 1 root   root 522 iul 26 16:36 .htaccess
> drwxr-xr-x. 4 root   root  31 iul 26 16:17 uploaded
>
>
> [root@reviews3 www]# ls -al /var/www/reviews3.smart-x.net/htdocs/static/
> total 4
> lrwxrwxrwx. 1 root   root  64 iul 26 16:36 admin ->
> /usr/lib/python2.7/site-packages/reviewboard/htdocs/static/admin
> lrwxrwxrwx. 1 root   root  62 iul 26 16:36 djblets ->
> /usr/lib/python2.7/site-packages/djblets/htdocs/static/djblets
> drwxr-xr-x. 2 apache root   6 iul 26 16:17 ext
> -rw-r--r--. 1 root   root 522 iul 26 16:36 .htaccess
> lrwxrwxrwx. 1 root   root  62 iul 26 16:36 lib -> /usr/lib/python2.7/site-
> packages/reviewboard/htdocs/static/lib
> lrwxrwxrwx. 1 root   root  61 iul 26 16:36 rb -> /usr/lib/python2.7/site-
> packages/reviewboard/htdocs/static/rb
>
> Thanks in advance.
>
>
> --
> 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
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to