[Bug:1.9] File.grpowned?$B$N%F%9%H(B

e$B@>;3OB9-$G$9!#e(B

Mac OS
Xe$B$Ge(Bassert(File.grpowned?(@file))e$B$,e(BFailuree$B$K$J$j$^$9!#e(B

  1. Failure:
    test_owned_p(TestFileExhaustive)
    [/Users/nishiyamakazuhiro/wc/ruby-lang/trunk/test/ruby/test_file_exhaustive.rb:240]:
    is not true.

  2. Failure:
    test_stat_owned_p(TestFileExhaustive)
    [/Users/nishiyamakazuhiro/wc/ruby-lang/trunk/test/ruby/test_file_exhaustive.rb:698]:
    is not true.

e$B%F%9%H$r<B9T$9$k%f!<%6$,e(BDir.mktmpdire$B$Ne(B/tmp/e$B$N%0%k!<%W$KF~$C$F$$$J$/$F!“e(B
e$B%G%#%l%/%H%j$Ke(Bsetgide$B$5$l$F$$$J$/$F$b%G%#%l%/%H%j$N%0%k!<%W$,!”?75,:[email protected](B
e$B$5$l$kCf$N%U%!%$%k$K7Q>5$5$l$k4D6-e(B(BSDe$B7Oe(B?)e$B$G5/$-$k$N$G$O$J$$$+$H;W$$$^$9!#e(B

$ touch ~/foo /tmp/foo
$ ls -ld ~ ~/foo /tmp /tmp/ /tmp/foo
drwxr-xr-x+ 26 nishiyamakazuhiro staff 884 Jul 23 07:46
/Users/nishiyamakazuhiro
-rw-r–r-- 1 nishiyamakazuhiro staff 0 Jul 23 07:47
/Users/nishiyamakazuhiro/foo
lrwxr-xr-x@ 1 root admin 11 Jul 16 16:29 /tmp ->
private/tmp
drwxrwxrwt 9 root wheel 306 Jul 23 07:46 /tmp/
-rw-r–r-- 1 nishiyamakazuhiro wheel 0 Jul 23 07:47 /tmp/foo
$ id
uid=501(nishiyamakazuhiro) gid=20(staff)
groups=20(staff),98(_lpadmin),81(_appserveradm),101(com.apple.sharepoint.group.1),79(_appserverusr),80(admin)
$