I have a shell script that is supposed to change the permission for my WWW folder so that Apache can access them. My current script is
chown apache /var/www/*
chmod 755 /var/www/*
This works fine for /var/www/ but subdirectories of /var/www/ e.g. /var/www/html/ is still owned by samarudge (My FTP user).
How can I change this script so that it automaticaly changes the permisions for the subdirectories for Apache?
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...