btw how do i enable the suphp .. and will it solved the my file permission
this happened the sample of my issues when i edited the files directly from browser in joomla admin panel
Code:
-rw-r--r-- 1 apache apache 1491 May 6 17:46 blank.html
drwxr-xr-x 3 apache apache 4096 May 6 17:46 css
drwxr-xr-x 5 apache apache 4096 May 6 17:46 images
-rw-r--r-- 1 apache apache 0 May 6 17:46 index.html
-rwxr-xr-x 1 apache apache 8145 May 7 18:03 index.php
drwxr-xr-x 4 apache apache 4096 May 6 17:46 ja_menus
-rw-r--r-- 1 apache apache 10491 May 6 17:46 ja_templatetools.php
-rw-r--r-- 1 apache apache 2253 May 6 17:46 ja_vars.php
-rwxr-xr-x 1 apache apache 64 May 6 17:50 params.ini
drwxr-xr-x 2 apache apache 4096 May 6 17:46 scripts
-rw-r--r-- 1 apache apache 11758 May 6 17:46 templateDetails.xml
-rw-r--r-- 1 apache apache 12240 May 6 17:46 template_thumbnail.png
meanwhile this is the original file permission on the root
Code:
drwxr-xr-x 6 apache web5 4096 Mar 28 08:37 images
drwxr-xr-x 8 apache web5 4096 Mar 28 08:37 includes
-rw-r--r-- 1 apache web5 591 Mar 28 08:34 index2.php
-rw-rw-r-- 1 apache web5 1211 May 6 17:43 index.html
-rw-r--r-- 1 apache web5 2052 Mar 28 08:34 index.php
drwxr-xr-x 4 apache web5 4096 Mar 28 08:36 language
drwxr-xr-x 16 apache web5 4096 Mar 28 08:37 libraries
-rw-r--r-- 1 apache web5 17816 Mar 28 08:35 LICENSE.php
-rw-r--r-- 1 apache web5 30746 Mar 28 08:35 LICENSES.php
drwxr-xr-x 2 apache web5 4096 Mar 28 08:36 logs
drwxr-xr-x 3 apache web5 4096 Mar 28 08:37 media
drwxr-xr-x 27 apache web5 4096 May 7 15:26 modules
drwxr-xr-x 11 apache web5 4096 Mar 28 08:37 plugins
-rw-r--r-- 1 apache web5 304 Mar 28 08:36 robots.txt
drwxr-xr-x 2 apache web5 4096 May 7 04:01 stats
drwxr-xr-x 7 apache web5 4096 May 6 17:46 templates
drwxr-xr-x 4 apache web5 4096 May 7 17:43 tmp
drwxr-xr-x 4 apache web5 4096 Mar 28 08:37 xmlrpc
and i have to reenable the Limit SITE_CHMOD for "FTP users can use the chmod command" or it will chown all files inside the folder to the ftp username
i'm really screw up and don't know where to dig