Return to Snippet

Revision: 36920
at November 30, 2010 20:44 by resting


Initial Code
<?php 
system('./fixmod'); 

print "\n\nComplete!"; 

system('find . -type d -exec chmod 777 {} \; 2>&1'); 
system('find . -type f -exec chmod 777 {} \; 2>&1'); 

print "\n\nComplete!"; 
?>

Initial URL
http://www.frihost.com/forums/vt-14867.html

Initial Description
Save in a php file and run in the directory.  
Remove directory files through ftp.  
Remove php file

Initial Title
Fix to remove apache owner directory files

Initial Tags
apache

Initial Language
PHP