Permissions help needed! (giving one web user access to another's fil
I have 2 web sites, one is actually a forum off the main www site - but they are seen as 2 separate sites by the system, and have their own separate folders in /public_html
I have scripts in the forum site that edit/move files in the www site - but the only way the scripts can work is if I first change the permissions on the files/folders being used in the www site to 777, then run the scripts on the forum part, then change the www file/folders back to 644/755.
A real pain, and not very secure.
Is there a way I can give the forum web user access to the www files/folders? I'm guessing it has something to do with adding the forum user to the www user's group. (I'm NOT knowledged in Linux at all!! (as you can already tell)).
Running CentOS 6.4 I believe.
(lets call forum username and group name: forum / forum and the www username and group name: www / www )