[#35688] サブクラスのオブジェクト生成時に、スーパークラスの初期化を行うには ? — Onodera Takafumi <onodera-tak@...>

9 messages 2002/08/01

[#35772] Unsecure world writeable dirの警告 — "井上 浩一" <kyoui32@...>

=1B$B0f>e$G$9!#=1B(B

31 messages 2002/08/26
[#35774] Re: Unsecure world writeable dir の警告 — matz@... (Yukihiro Matsumoto) 2002/08/26

まつもと ゆきひろです

[#35775] Re: Unsecure world writeabledir の警告 — nobu.nakada@... 2002/08/26

なかだです。

[#35776] Re: Unsecure world writeabledir の警告 — matz@... (Yukihiro Matsumoto) 2002/08/26

まつもと ゆきひろです

[#35778] Re: Unsecure world writeabledir の警告 — nobu.nakada@... 2002/08/26

なかだです。

[#35779] Re: Unsecure world writeabledir の警告 — WATANABE Hirofumi <eban@...> 2002/08/26

わたなべです。

[#35780] Re: Unsecure world writeabledir の警告 — nobu.nakada@... 2002/08/26

なかだです。

[#35784] Re: Unsecure world writeabledir の警告 — "U.Nakamura" <usa@...> 2002/08/26

こんにちは、なかむら(う)です。

[#35854] Re: Unsecure world writeabledir の警告 — "Inoue" <rubyist@...1.117.ne.jp> 2002/09/04

井上です。

[#35865] Re: Unsecure world writeabledir の警告 — Koji Arai <JCA02266@...> 2002/09/05

新井です。

[#35866] Re: Unsecure world writeabledir の警告 — matz@... (Yukihiro Matsumoto) 2002/09/06

まつもと ゆきひろです

[#35789] multipart な CGI を速くしたい — Takashi Kanai <kanai@...4u.or.jp>

Windows上でRubyとMySQLを使ってショッピングサイトのようなものを作って

17 messages 2002/08/28

[ruby-list:35775] Re: Unsecure world writeabledir の警告

From: nobu.nakada@...
Date: 2002-08-26 04:19:10 UTC
List: ruby-list #35775
なかだです。

At Mon, 26 Aug 2002 12:16:44 +0900,
Yukihiro Matsumoto wrote:
> |puts ENV['PATH']
> |
> |を実行すると、以下のような警告が表示されます。
> |これを表示させないようにできますか?
> |また、後ろの mode 040707は何でしょうか?
> |
> |warning: Unsecure world writeable dir c:\ruby\bin , mode 040777
> 
> 「誰でも書き込み可のディレクトリがパスに含まれています」とい
> う意味です。c:\ruby\bin という表記ということはWindowsですよ
> ね、Windowsではたぶん無意味なのでチェックを外したほうが良い
> のかもしれません。

そういえば[ruby-list:33972]でもこの話が出てて、直したような気が
してましたがそのままだったんですね。


Index: file.c
===================================================================
RCS file: /cvs/ruby/src/ruby/file.c,v
retrieving revision 1.105
diff -u -2 -p -r1.105 file.c
--- file.c	21 Aug 2002 15:47:54 -0000	1.105
+++ file.c	26 Aug 2002 04:16:13 -0000
@@ -2329,4 +2329,5 @@ is_absolute_path(path)
 }
 
+#ifndef DOSISH
 static int
 path_check_1(path)
@@ -2357,5 +2358,5 @@ path_check_1(path)
 #endif
 	    ) {
-	    rb_warn("Unsecure world writeable dir %s , mode 0%o", p0, st.st_mode);
+	    rb_warn("Insecure world writeable dir %s , mode 0%o", p0, st.st_mode);
 	    if (p) *p = '/';
 	    return 0;
@@ -2368,4 +2369,5 @@ path_check_1(path)
     }
 }
+#endif
 
 int
@@ -2373,4 +2375,5 @@ rb_path_check(path)
     char *path;
 {
+#ifndef DOSISH
     char *p0, *p, *pend;
     const char sep = PATH_SEP_CHAR;
@@ -2392,4 +2395,5 @@ rb_path_check(path)
 	if (!p) p = pend;
     }
+#endif
     return 1;
 }


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread