Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Unix.chmod => what codes for what mode?!
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Shawn Wagner <shawnw@s...>
Subject: Re: [Caml-list] Unix.chmod => what codes for what mode?!
On Fri, Apr 23, 2004 at 07:16:34PM +0200, Oliver Bandel wrote:
> Hello,
> 
> The Unix.chmod function is bad documented.
> 
> Seems that I have to try out all possible values
> and check the results with the command line tools?
> 
> 
> Or is there any possibility to predict it's behaviour?!

It uses the same numeric modes as the chmod command-line program.
See man 1 chmod for details.


-- 
Shawn Wagner
shawnw@speakeasy.org

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners