Browse thread
Creating a directory with default permissions
- Martin Jambon
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Martin Jambon <martin1977@l...> |
| Subject: | Creating a directory with default permissions |
Hello, Is there a way to write portable OCaml code which creates a directory with the default permissions as defined by umask? According to the documentation, Unix.umask is not available under Win32, yet some functions ask for some file permissions. I don't know much about Windows, but would there be a problem with having a Win32 Unix.umask function which initially returns 0? Thanks, Martin -- Martin Jambon, PhD http://martin.jambon.free.fr