From: Joshua Ballanco Date: 2008-07-28T09:24:14+09:00 Subject: Re: chmod -R u+X in ruby Tammo Tjarks wrote: > Currently I use an > system("chmod -R u+X example_dir") and I would like to know if there is > a way to do that "naturally" in ruby. You should use File.stat('filename').mode, a bitmask, and a bitwise 'and'. -- Posted via http://www.ruby-forum.com/.