[Mongrel] SVN security hole explained

Zed Shaw zedshaw at zedshaw.com
Sat Aug 26 08:48:00 EDT 2006


On Sat, 2006-08-26 at 11:11 +0200, Charles M. Gerungan wrote:
> On 26-aug-2006, at 1:07, Zed Shaw wrote:
> 
> > I wonder if you could just modify the cap tasks to simply
> > delete all the .svn directories after the app is deployed?
> >
> > find . -name ".svn" -exec rm -rf {} \;
> 
> Wouldn't this result in the same as doing an export, which Ezra  
> already suggested?
> 

Yeps, but doesn't do it for people who already have their stuff checked
out.


-- 
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.



More information about the Mongrel-users mailing list