From: Bob Smith Date: 2008-12-25T01:27:01+09:00 Subject: Re: Newbie - open file permission denied unknown wrote: > > Dir.glob("#{INDIR}/*").each do |filename| > File.open(filename, "r") do |file| > #... > end > end > > glob does return the full path to the file. Thank you, the Dir.glob gets rid of the error. -- Posted via http://www.ruby-forum.com/.