title: Not able to configure hadoop
body: <p>I am not able to configure hadoop for stand alone operation.
  When i am doing cp conf/*.xml input, i am getting these errors:
  cp: cannot create regular file <code>input/capacity-scheduler.xml': Permission denied
  cp: cannot create regular file</code>input/core-site.xml': Permission denied
  cp: cannot create regular file <code>input/fair-scheduler.xml': Permission denied
  cp: cannot create regular file</code>input/hadoop-policy.xml': Permission denied
  cp: cannot create regular file <code>input/hdfs-site.xml': Permission denied
  cp: cannot create regular file</code>input/mapred-queue-acls.xml': Permission denied
  cp: cannot create regular file `input/mapred-site.xml': Permission denied</p>
  
  <p>And after that when i am doing bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+',i am getting these errors:</p>
  
  <p>/cygdrive/d/hadoop-1.2.1/libexec/../conf/hadoop-env.sh: line 55: $'\r': command                                                                                                     not found
  Error: JAVA_HOME is not set.
  I have edited the env.sh file and have set the JAVA_HOME.</p>
  
  <p>Can anyone suggest me something?</p>