I have a Php script that runs on apache server on a linux system. I want the script to access all the contents (files/directories) within the home and user directories as deep as the directories and files within them exists. Whenever, my script reads the contents of the user directory, it cannot access the contents of the Documents,Download,Video etc. directory. T
- I have changed the permissions to this directories
- I have added the apache user:'www-data' to the root group of the user directory with the recursive option '-R'
Yet, I still do not achieve the desired result. I will appreciate any help that can give me solution.
Note: The Linux user directory is named kali(I don't know if this info helps)