restore mode of files in IDBFS