I had some problems with permissions, the programmers of my website wanted me to add the admin user to the apache group and then set some permissions. My knowledge of Linux is quite limited, so I found the following online:
chown -R apache:apache /path/to/webserver/www chmod -R g+rw /path/to/webserver/www
This worked perfectly, and all was well for few days (BTW, I used "apache" instead of www-data since I'm on CentOS). Now, they're saying they can't upload files to that folder since it is owned by apache user, while they want it to be owned by apache AND admin user.
How do I add 'admin' to ownership as well in addition to 'apache'?