diff --git a/src/Exscriptd/Order.py b/src/Exscriptd/Order.py
index <HASH>..<HASH> 100644
--- a/src/Exscriptd/Order.py
+++ b/src/Exscriptd/Order.py
@@ -52,7 +52,7 @@ class Order(Base):
         file     = NamedTemporaryFile(dir = dirname, prefix = '.') #delete = False)
         file.write(self.toxml())
         file.flush()
-        os.chmod(file.name, 0x644)
+        os.chmod(file.name, 0644)
         os.rename(file.name, filename)
         try:
             file.close()
exscriptd client: fix: broken order permissions.