Advertisement
Guest User

Untitled

a guest
Sep 8th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.21 KB | None | 0 0
  1. String outputFilePath = "/var/www/front_desk/"
  2. File outputFileDir = new File(outputFilePath)
  3. if(!outputFileDir.exists()){
  4.     outputFileDir.mkdirs()
  5. }
  6. String cmd = "chmod 777 -R " + outputFilePath
  7. cmd.execute()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement