From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA29843; Wed, 11 Jun 2003 18:19:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA29792 for ; Wed, 11 Jun 2003 18:19:15 +0200 (MET DST) Received: from iconnect5rc2.stwerff.xs4all.nl (stwerff.xs4all.nl [213.84.145.135]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h5BGJFT24769 for ; Wed, 11 Jun 2003 18:19:15 +0200 (MET DST) Received: by iconnect5rc2.stwerff.xs4all.nl (Postfix, from userid 501) id 7659259DA9; Wed, 11 Jun 2003 18:25:36 +0200 (CEST) Received: from jurjen.stwerff.xs4all.nl (unknown [192.168.99.10]) by iconnect5rc2.stwerff.xs4all.nl (Postfix) with ESMTP id 4FDA859DA2 for ; Wed, 11 Jun 2003 18:25:33 +0200 (CEST) Subject: [Caml-list] Unix file premissions bug? From: Jurjen Stellingwerff To: caml-list@pauillac.inria.fr Message-Id: <1055348351.3214.13.camel@jurjen.stwerff.xs4all.nl> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Date: 11 Jun 2003 18:19:12 +0200 X-Securityscan: Advanced E-mailfilter on Iconnect-firewall. Contact fwsupport@jonkers.nl for more information. Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; bug:01 chmod:01 orthogonal:01 755:99 unix:02 behavior:03 decimal:05 hexadecimal:05 problem:07 written:08 similar:09 assumes:11 odd:14 hello:15 your:82 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello Matt Gunshee, The problem is that Unix.chmod assumes orthogonal numbers These are written like: 0o755 similar as hexadecimal 0x1fa In your example you gave decimal numbers and those give that odd behavior ... Success, Jurjen ------------------- 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