X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: mkdir differences between 1.5.25 and 1.7 Date: Thu, 29 Oct 2009 14:33:09 -0700 Message-ID: In-Reply-To: <20091029083715.GL28753@calimero.vinschen.de> References: <20091029083715 DOT GL28753 AT calimero DOT vinschen DOT de> From: "Egerton, Jim" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > That's fixed in CVS. Excellent! I'm not familiar with the Cygwin build schedule - how often ar= e the packages updated so I can give this another try? > > I also ran into a problem with the mkdir "C" API which may or may not > > be related. As far as I can tell, the permissions mask passed to > > mkdir with 1.7 is ignored. The chmod API works fine. >=20 > Works fine for me. Are you sure the directory you tested this on is > not mounted with the "noacl" option? It isn't mounted noacl - sorry I didn't mention that. $ mount | grep ' / ' C: on / type ntfs (binary) I know you frown on mounting C: as /, but unfortunately there is a lot of h= istory predating my presence that depends on this. Test program: $ cat x.cc #include #include int main(int argc, char *argv[]) { mkdir("/tmp/foo", 0777); } $ ls -ld /tmp/foo ls: cannot access /tmp/foo: No such file or directory $ ./x $ ls -ld /tmp/foo drwxr-xr-x 1 root Administrators 0 Oct 29 20:27 /tmp/foo For what it's worth, this isn't nearly as problematic as the lost ACL's as = I can always follow each mkdir call with a chmod - that seems to work fine. Thanks Corinna, jim -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple