title: Powershell chmod on /tmp/hive for winutils and hadoop/spark
body: <p>I'm currently trying to incorporate a process for setting up Spark/Hadoop on a teststack into our powershell script.</p>
  
  <p>It's a windows environment and a few bits are throwing curveballs, but thsi is the worst :)</p>
  
  <p>When I manually install I can run <code>%HADOOP_HOME%\bin\winutils.exe chmod 777 /tmp/hive</code> from the command line but I now need to translate that into Powershell script, is this possible at all?  I've serached but not yet come across a solution.  One post suggested using icacls but then /tmp/hive is not allowed as the arg.</p>
  
  <p>Thanks for any help!</p>