Set file permissions

Added by iNTERFACEWARE

Use os.fs.chmod() to set file permissions, using octal mode (symbolic mode does not work)

Source Code
   -- grant full access using octal "777" or "0777"
   os.fs.chmod('temp', '777') 
   os.fs.chmod('temp', '0777')
   
   -- symbolic mode does not work - fails and raises an error
   os.fs.chmod('temp', '-rwxrwxrwx')
Description
Use os.fs.chmod() to set file permissions, using octal mode (symbolic mode does not work)