I am using XAMP on mine MAC System (OS: macOS High Sierra) and I follow the steps: I have permissions issue but i can't understand why ..
- I have default configuration on mine XAMP in httpd.conffile for :
<IfModule unixd_module>
      User daemon
      Group daemon
  </IfModule>- I have a laravel project in mine - htdocsdirectory:- /Applications/XAMPP/xamppfiles/htdocs/sites have the 2 sites: 
drwxrwxr-x  5 daemon  daemon  160 Dec  2 07:11 beinstyle
drwxrwxr-x  5 daemon  daemon  160 Dec  2 07:10 conlineltdIn that sites directories i have logs directory:
drwxrwxr-x   2 daemon  daemon   64 Nov 29 18:26 logs- I made the virtual hosts:
httpd.conf configuration for:
Listen 80
Listen 8080
# Virtual hosts
Include etc/extra/httpd-vhosts.conf // included
httpd-vhosts.conf
<VirtualHost *:8080>
    ServerAdmin conlineltd.com
    DocumentRoot "/Applications/XAMPP/htdocs/sites/conlineltd/project/public"
    DirectoryIndex index.php
    ServerName conlineltd.com
    ServerAlias www.conlineltd.com
    ErrorLog "/Applications/XAMPP/htdocs/sites/conlineltd/logs/"
    CustomLog "/Applications/XAMPP/htdocs/sites/conlineltd/logs/" common
</VirtualHost>
<VirtualHost *:8080>
    ServerAdmin beinstyle.com
    DocumentRoot "/Applications/XAMPP/htdocs/sites/beinstyle/project/public"
    DirectoryIndex index.php
    ServerName beinstyle.com
    ServerAlias www.beinstyle.com
    ErrorLog "/Applications/XAMPP/htdocs/sites/beinstyle/logs/"
    CustomLog "/Applications/XAMPP/htdocs/sites/beinstyle/logs/" common
</VirtualHost>I run the following commands:
`sudo dseditgroup -o checkmember -m macbook daemon` after checking the command return yes!
 sudo dseditgroup -o edit -a macbook -t user daemon
Error logs from apache:
(21)Is a directory: AH00091: httpd: could not open error log file /Applications/XAMPP/htdocs/sites/beinstyle/logs/. AH00015: Unable to open logs
Mine system logged user is macbook do i need to add him to a daemon group ?
I am new to the permissions topic on linux systems and maybe i miss something simple here , Please need your help !!
