Hello guys,

During installation i have found a problem where i dont have any clue on how to solve it, so i hope that you can help me with roundcube installation.

Check config file
defaults.inc.php:  OK
config.inc.php:  NOT OK(Unable to read file. Did you create the config file?)
Check if directories are writable
Roundcube may need to write/save files into these directories
/Library/Server/Web/Data/Sites/Default/roundcubemail/temp/:  NOT OK(not writeable for the webserver)
/Library/Server/Web/Data/Sites/Default/roundcubemail/logs/:  NOT OK(not writeable for the webserver)
Use chmod or chown to grant write privileges to the webserver
Check DB config
DSN (write):  NOT OK(Could not read config file)
Test filetype detection
Fileinfo/mime_content_type configuration:  OKMimetype to file extension mapping:  OK
Specs of my server who will have the mail service:
- MAC OS X  10.9.5;

How it is running:
- Server app is running as root;
- I am using the default folder for websites that came with the websites app of this MAC OS X;
- I am using a user called X-Mac-Pro to copy paste and is in the same group of permissions of the root user.

When i changed the default permissions on files, i changed both files permissions to 777 (both defaults.inc.php and config.inc.php) and defaults.inc.php continues OK except the config.inc.php.

I notice that the main folder of the website was owned by a user called root and the subfolder roundcubemail was under another user, but both in the same group of privileges (admin) =/

This is how i have now privileges in those subfolders and folder:

X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/config
total 128
-rw-r--r--@ 1 root  admin    164 28 Sep 20:30 .htaccess
-rw-r--r--@ 1 root  admin   3983 28 Sep 20:30 config.inc.php.sample
-rw-r--r--@ 1 root  admin  51625 28 Sep 20:30 defaults.inc.php -rw-r--r--@ 1 root  admin   2815 28 Sep 20:30 mimetypes.php

X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/
total 440
-rwxrwxrwx@  1 root  admin    1940 28 Sep 20:30 .htaccess
-rwxrwxrwx@  1 root  admin  136602 28 Sep 20:30 CHANGELOG
-rwxrwxrwx@  1 root  admin    9954 28 Sep 20:30 INSTALL
-rwxrwxrwx@  1 root  admin   35147 28 Sep 20:30 LICENSE
-rwxrwxrwx@  1 root  admin    3736 28 Sep 20:30 README.md
drwxr-xr-x@ 12 root  admin     408 28 Sep 20:30 SQL
-rwxrwxrwx@  1 root  admin    3403 28 Sep 20:30 UPGRADING
drwxr-xr-x@ 19 root  admin     646 28 Sep 20:30 bin
-rwxrwxrwx@  1 root  admin    1353 28 Sep 20:30 composer.json-dist
drwxr-xr-x@  6 root  admin     204 28 Sep 20:30 config
-rwxrwxrwx@  1 root  admin   12412 28 Sep 20:30 index.php
drwxr-xr-x@  9 root  admin     306 28 Sep 20:30 installer
drwxr-xr-x@  3 root  admin     102 28 Sep 20:30 logs
drwxr-xr-x@ 35 root  admin    1190 28 Sep 20:30 plugins
drwxr-xr-x@  8 root  admin     272 28 Sep 20:30 program
drwxr-xr-x@  8 root  admin     272 28 Sep 20:30 public_html
-rwxrwxrwx@  1 root  admin      26 28 Sep 20:30 robots.txt
drwxr-xr-x@  4 root  admin     136 28 Sep 20:30 skins
drwxr-xr-x@  3 root  admin     102 28 Sep 20:30 temp
drwxr-xr-x@  9 root  admin     306 28 Sep 20:32 vend

X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/
total 304
-rw-r--r--@  1 gfe-tecserver  admin    6148 11 Oct 10:32 .DS_Store
drwxr-xr-x   2 root           wheel      68 23 Jun  2014 NetBoot
-rw-r--r--   1 root           wheel  102749 14 May  2014 Server.png
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.de -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/de.lproj/default.html
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.en -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/en.lproj/default.html
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.es -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/es.lproj/default.html
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.fr -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/fr.lproj/default.html
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.it -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/it.lproj/default.html
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.ja -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/ja.lproj/default.html
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.ko -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/ko.lproj/default.html
lrwxr-xr-x   1 root           admin      88 23 Jun  2014 default.html.nl -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/nl.lproj/default.html
lrwxr-xr-x   1 root           admin      91 23 Jun  2014 default.html.zh-CN -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/zh_CN.lproj/default.html
lrwxr-xr-x   1 root           admin      91 23 Jun  2014 default.html.zh-TW -> /Applications/Server.app/Contents/ServerRoot/usr/share/web/locales/zh_TW.lproj/default.html
-rw-r--r--   1 root           wheel    7782 23 Jun  2014 favicon.ico
-rw-r--r--   1 root           wheel     269 23 Jun  2014 info.php
drwxr-xr-x@ 22 root           admin     748 28 Sep 20:32 roundcubemail 

X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/temp/
total 8
-rwxrwxrwx@ 1 root  admin  164 28 Sep 20:30 .htaccess
X-Mac-Pro:~ root# ls -l /Library/Server/Web/Data/Sites/Default/roundcubemail/logs/
total 8
-rwxrwxrwx@ 1 root  admin  164 28 Sep 20:30 .htaccess

What kind of privileges do you recommend or suggest? I really dont know what to do here =/
 
Waiting for an answer,
I would like to thank you in advance!
--
Best regards,
Fábio Cabrita.