Re: Security error with ERuby
Shugo Maeda <[email protected]> Fri, 24 Sep 2004 03:52:56 +0900
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, Nagy Bence wrote: >>All of my directories under /usr/lib/ruby are owned by root and have >>755 rights, the files I want to load (cgi.rb, date.rb ...) have 644. (snip) > /home/gimb/public_html/test.rhtml:1:in `require': loading from unsafe > path /usr/lib/ruby/site_ruby/1.8:/usr/lib/ruby/site_rub > y/1.8/i686-linux:/usr/lib/ruby/site_ruby:/usr/lib/ruby/1.8:/usr/lib/rub > y/1.8/i686-linux:. (SecurityError)[Thu Sep 23 20:04:41 2004] [error] It seems that `.'(current directory) is included in your load path. Is it world writable? Shugo