From: Martin Jambon <martin1977@laposte.net>
To: caml-list@inria.fr
Subject: Creating a directory with default permissions
Date: Fri, 20 Oct 2006 11:43:24 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0610201120050.20408@localhost> (raw)
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
next reply other threads:[~2006-10-20 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-20 18:43 Martin Jambon [this message]
2006-10-20 19:21 ` [Caml-list] " Gerd Stolpmann
2006-10-20 21:41 ` Martin Jambon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0610201120050.20408@localhost \
--to=martin1977@laposte.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox