Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.7.0 Beta
-
None
Description
You can call setPermissions after the file has been created but that has a time window in which the file has the wrong permissions.
Kai Koehne suggested for setPermissions to work before calling open as a possible solution.