From: Brian Candler Date: 2011-12-05T22:34:59+09:00 Subject: Re: 'open().each' doesn't close file luke gruber wrote in post #1035101: >> Mc Ben wrote in post #1035008: >> Bug, 'Feature' or my mistake? > > It works fine for me. Check the permissions for the directory: > ls -ld /some/dir > > Maybe there's no x bit set on the directory. It seems weird to me > that you'd get a Permissions error for something else. The OP was using Windoze. -- Posted via http://www.ruby-forum.com/.