From: Harry Ohlsen Date: 2003-11-25T14:38:59+09:00 Subject: Re: Message "Insecure world writable dir ..." Thien Vuong wrote: >> Note that the warning is produced if *any* sub-directory of a >> directory in the path is world writable. For example, in my case, I >> have my own "bin" directory in the path ... /export/home/harryo/bin. >> That directory isn't world writable, but Ruby picks up that one of the >> directories above it is (ie, /export/home in this case). >> >> H. > > > Hm, I don't have the same result > > > [1.21:14:22] tvuong>cd /tmp > [2.21:14:26] tmp>PATH=".:/bin:/home/eng/tools/bin" > [3.21:14:39] tmp>irb-1.8 > irb(main):001:0> system "date" > (irb):1: warning: Insecure world writable dir /tmp/., mode 041777 > Mon Nov 24 21:14:49 PST 2003 > => true > irb(main):002:0> > > [8.21:16:41] tmp>ls -ld ./bin > drwxrwxr-x 2 tvuong eng 69 Nov 24 21:11 ./bin I'm not sure I understand what you mean. It's not complaining about ./bin, it's complaining about "/tmp/." (ie, "/tmp") in this case. The modes on ./bin aren't the issue ... or did I misunderstand what you were saying? H.