File Permission Error - Scala RDD.first()

spark-shell
scala

#1

I am practicing in windows. After creating RDD, I wanted to read first row.However I ended up with below error. Any help is appreciated. Basicalli it is unable to read the file. I tried giving full permissions and create the RDD again but still got the same error.

scala> orders1.first()
java.lang.RuntimeException: Error while running command to get file permissions : java.io.IOException: (null) entry in command string: null ls -F