Hello,
After using a TEST version to evaluate the usefulness of Dolibarr, I wanted to delete everything from my Mac, and do a new installation from scratch.
The security alert of the conf.php file remains displayed.
However, I have changed the access permissions of the file in/Applications/MAMP/dolibarr/htdocs/conf
During the first installation, everything went well.
I am now thinking of permanently deleting dolibarr.
Thank you for your advice as a last resort.
never give up, never surrender.
Show us a screenshot of the error message
Here is the error message, sorry it’s in French.
maybe you should use the french forum, this is the english forum
anyway, from the terminal, send this information
ls -lad /Applications/MAMP/dolibarr/htdocs
ls -lad /Applications/MAMP/dolibarr/htdocs/conf
ls -lad /Applications/MAMP/dolibarr/htdocs/conf/conf.php
I did it. Am I supposed to get any information? The error message is always displayed.
Yes, you are supposed to get some information from the Terminal app in Mac OSX.
I don’t have that path, but my information is:
lrwxrwxrwx. 1 www-data www-data 13 Jul 20 04:52 htdocs → /var/www/html
root@dolipod_develop:/var/www# ls -lad html/
drwxrwxrwt. 1 www-data www-data 4096 Jul 20 04:52 html/
root@dolipod_develop:/var/www# ls -lad html/conf/
drwxr-xr-x. 2 www-data www-data 63 Jul 25 12:44 html/conf/
root@dolipod_develop:/var/www# ls -lad html/conf/conf.php
-r--------. 1 www-data www-data 555 Jul 25 12:44 html/conf/conf.php
Ok. I’ve similar responses. What I’m suppose to do now? I’m not familiar with Terminal
please copy’n’paste the information in here, or take a screenshot of the terminal and it’s responses.
Your configuration file is readable by too many, it should only be readable by the file owner - look at mine - and perhaps the owner of the file should be adjusted, but first try this command in the terminal
chmod go-rwx /Applications/MAMP/dolibarr/htdocs/conf/conf.php
then again run this command and show me the output
ls -lad /Applications/MAMP/dolibarr/htdocs/conf/conf.php
Here is the reply
-r–r–r-- 1 root staff 1789 27 jul 09:58 /Applications/MAMP/dolibarr-19/htdocs/conf/conf.php
that file is still readable by:
- -r- file owner, aka root
- -r–r- file group, aka staff
- -r–r–r- Every other user on that computer.
Mine is only
This might be why, but I don’t know because I run my Dolibarr inside a podman container, and actually my development Dolibarr is running on my mac laptop, where as my production Dolibarr runs on a linux server.
Did you visit the French forum and ask the same question but with that french screenshot? maybe they can help you much more because they can actually read french?
I also used the forum in French. They say that the alert is of no importance when Dolibarr is operated locally.
I’m confused. I’ve change something and now I get this reply from the terminal :
-r–r----- 1 root staff 1789 27 jul 09:58 /Applications/MAMP/dolibarr-19/htdocs/conf/conf.php
[quote=“SeonPark, post:14, topic:25627, full:false”]
I also used the forum in French. They say that the alert is of no importance when Dolibarr is operated locally.[/quote]
That is probably correct
Good, that looks slightly better, does it still give that error message? And can you ignore it and continue testing Dolibarr?
In the past weeks, I was in the test phase. I made a new installation to go into the normal phase.
So I will ignore the alert message. Thank you for your help.