Infatti ti dice di mettere 777 solo al file txt, non a tutto.

Once the files are uploaded CHMOD "news.txt" to 777.