From: "SHIGETOMI, Takuhiko" Date: 2005-09-27T17:04:41+09:00 Subject: Re: changing permissions in windows XP using ruby!! i wish i could help you, but i cannot > I tried to give permissions to everyone (as I would do in Linux using > chmod 0777 filename) by using the code: > > f = File.new(path, "a+") > puts File.chmod(0777,path) i double-checked this phenomenon on my pc with both ruby-mswin32 and ruby-cygwin. with ruby-mswin32, yes, as you wrote, File#chmod seems not to work as we expect. with ruby-cygwin, it does work well. unfortunately, the revision of them are different as below... - my ruby-mswin32 : 1.8.2 - my ruby-cygwin : 1.8.3 i am not sure that this chmod's problem is based on its revision ( 1.8.2 vs 1.8.3 ) or on its build ( mswin32 vs cygwin ). i hope anyone who is using ruby-cygwin-1.8.2 or earlier would check this phenomenon and report the result. i am sorry, this is not going to solve your problem. but i will keep this in my mind and continue seeking any solution. q2hdp://void/3d/universe/milky-way-galaxy/orion-arm/sol-solar-system/ 3rd-planet/fareast/jp/tky/shigetomi.takuhiko.5618