From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13496 invoked by alias); 25 Jul 2008 07:21:18 -0000 Received: (qmail 13475 invoked by uid 22791); 25 Jul 2008 07:21:16 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 25 Jul 2008 07:20:50 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 4D8DE6D4354; Fri, 25 Jul 2008 09:21:22 +0200 (CEST) Date: Fri, 25 Jul 2008 07:21:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [HEADSUP] Let's start a Cygwin 1.7 release area Message-ID: <20080725072122.GA3173@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <20080402123551.GB4468@calimero.vinschen.de> <200807241540.54183.phil@cs.wwu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807241540.54183.phil@cs.wwu.edu> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2008-07/txt/msg00130.txt.bz2 On Jul 24 15:40, Phil Nelson wrote: > 1.5: > > cd /cygdrive/n > ls -ldn JUNK > drwxr-xr-x 1 500 513 0 May 27 10:54 JUNK > > 1.7: > > cd /cygdrive/n > ls -ldn JUNK > drwxr-x--- 1 4294967295 4294967295 0 Jan 14 2008 JUNK > > So it looks like user, group, permissions and dates are all wrong under 1.7. No, they aren't. The reason for this effect is that in 1.5, the user and group ownership, as well as the permissions were ignored by default (CYGWIN=nosmbntsec). With 1.7, CYGWIN=(no)ntsec and CYGWIN=(no)smbntsec are going away in favor of the "(no)acl" mount option. acl == ntsec is default. That means, you see correct permissions, but the user and group information (if not backed by a domain controller and bein available in your Cygwin's /etc/passwd and /etc/group anyway) can't be resolved unless you have matching user and group entries in /etc/passwd and /etc/group. However, there was still a problem up to 1.7.0-18 which results in a access denied message when trying to create files on a samba share with "acl" on. I'm just going to upload 1.7.0-21. I changed the mkpasswd and mkgroup tools so that they now allow to create passwd and group entries for users and groups from Samba servers: $ mkpasswd -L samba-machine,100000 -U 0,500-510 $ mkgroup -L samba-machine,100000 -U 0,users These commands will create entries from the global user list on the Samba machine (-L machinename). The local created uids will be mapped with an offset of 100000. Additionally, it will create entries for the standard UNIX accounts on the Samba machine for the users with uids 0 and 500-510. Same for the groups with uid 0 and name "users". The standard UNIX accounts are the ones you see in the Windows security tab as "Unix User\foouser" and "Unix Group\foogroup". If that's all too complicated for you, use the mount option noacl for this drive. HTH, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat