I have created an intricate tree of directories and folders using php which are owned by apache. I cannot modify these folders using my FTP login created in DirectAdmin. If I create a file or folder using that FTP login, they are owned by admin. I believe that adding admin to the apache group would give both users access to these files. Am I correct?
I have attempted to add admin to the apache group using usermod in SSH but get the error "bash: usermod: command not found".
How can I add admin to the apache group?