lib/bio/cli.rb
# Make sure all file generated under `results` directory has proper owner
Make sure all file generated under `results` directory has proper owner
Make sure all file generated under ` results ` directory has proper owner
def ensure_permissions
      plan_stat = File.stat(run_config[:plan_context])
      opts = {verbose: run_config[:debug]}
      FileUtils.chown_R(plan_stat.uid, plan_stat.gid, run_config[:results_dir], opts)
    rescue
      warning "Unable to set owner to #{plan_stat.uid} for #{run_config[:results_dir]}. Ignoring"
    end
def ensure_permissions plan_stat = File . stat ( run_config [ :plan_context ] ) opts = { verbose : run_config [ :debug ] } FileUtils . chown_R ( plan_stat . uid , plan_stat . gid , run_config [ :results_dir ] , opts ) rescue warning "Unable to set owner to #{plan_stat.uid} for #{run_config[:results_dir]}. Ignoring" end
Make sure all file generated under `results` directory has proper owner
Make sure all file generated under ` results ` directory has proper owner