On Thu, 7 Sep 2006, Ryan Davis wrote:

>
> On Aug 31, 2006, at 6:17 PM, Yukihiro Matsumoto wrote:
>
>> That means you have world writable directory in your load path ($PATH)
>> when you call external program (probably by using "system").  If you
>> know what you are doing, you can shut the warning up by
>> 
>> $VERBOSE=nil
>
> I _like_ $VERBOSE and run it with everything but rails (because: ugh). That 
> said, on my mac mini, where all user directories are on a separate disk, I 
> get this warning constantly because of the automounter directory /Volumes
>
> % pwd
> /Volumes/Users/ryan/
> % ls -lad /Volumes/
> drwxrwxrwt   6 root  admin  204 Aug 27 20:44 /Volumes/
> % cd /tmp; ruby -we '`/bin/ls`'
> -e:1: warning: Insecure world writable dir /Volumes, mode 041777
>
> this is because my PATH has /Volumes/Users/ryan/Bin but as you can see above, 
> the warning is irrelevant to the actual code being executed, my pwd, or much 
> of anything else. :/
>
> $VERBOSE is valuable, very valuable... could we perhaps move this warning to 
> $DEBUG or only if $SAFE is set or something?

i second that.  it's the only reason i don't use $VERBOSE too.

-a
-- 
what science finds to be nonexistent, we must accept as nonexistent; but what
science merely does not find is a completely different matter... it is quite
clear that there are many, many mysterious things.
- h.h. the 14th dalai lama