From e6ffe16b4162a95c83ae70f89edb93ca7c8269e0 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Wed, 18 Sep 2024 09:46:00 +0200
Subject: [PATCH] Fix Readme initial permissions

---
 Readme.md | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/Readme.md b/Readme.md
index d8e0779..2893104 100644
--- a/Readme.md
+++ b/Readme.md
@@ -7,18 +7,16 @@
 5. `docker-compose up`, the first docker-compose up takes time because we have git clone. **You need to wait the end of git clone**
 6. This will create 2 directories `dolibarr_src` : dolibarr code source and logs and `dolibarr_db`: mysql files
 7. Create a link to the dolibarr  custom directory (where you should put your modules): `ln -s dolibarr_src/htdocs/custom/ src`
-8. `sudo chown -R $(whoami):33 src/` to have the right to write your source files
+8. Set some basic rights for the installer to run
+```
+sudo chown -R $(whoami):33 dolibarr_src
+sudo chmod -R g+w dolibarr_src
+```
 9. Configuration of dolibarr with web interface (see below for database configuration)
 
 ![config.png](config.png)
 
-10. Fix permissions :
-
-```
-docker-compose exec dolibarr bash
-# Inside the container
-./doli perms
-```
+10. Fix permissions `./doli perms`
 
 ## Databases (For developpement)
 
-- 
GitLab