Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A0C7546.B306D41D@redhat.com> Date: Fri, 10 Nov 2000 23:23:02 +0100 From: Corinna Vinschen Reply-To: "'cygwin'" X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cygwin Subject: Re: NTSEC, passwd/group, and "544" References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Masterson, Dave" wrote: > > Corinna Vinschen wrote: > > "Masterson, Dave" wrote: > > > > 544 is the admins group. > > > > > > Ok, I see that now from the documentation. However, what > > > governs the permissions on the file? > > > > Under NT? The permissions set on the parent directory. But this > > is really MS documentation. > > No, I meant under CYGWIN -- why might the file permissions be displayed > differently by "ls -l" depending on whether ntsec is turned on or not? Without `ntsec' the ACL isn't visible for Cygwin so it only knows of four more or less faked permissions: rwxr-xr-x directory or *.{exe,bat,...} or #! file, no r/o attrib r-xr-xr-x directory or *.{exe,bat,...} or #! file, r/o attrib rw-r--r-- each other file, no r/o attribute r--r--r-- each other file, r/o attrib > > Sorry, wrong description. On NTFS it always uses the RID then which > > is substituted by a name in `ls -l' output iff /etc/passwd has a > > corresponding user entry. > > Okay, I'm on NTFS. How does NTSEC play into this? In my case, with NTSEC, > the file ownership is "544" while, without NTSEC, the file ownership is > "1897" ("ls -ln" output). Sigh, wrong description again. The behaviour is identical to that on FAT. I just had a look into the sources. This was different in earlier versions. The curent version is roughly based on the decision "ntsec" = correct, "nontsec" = fast > > mkpasswd didn't that up to Cygwin-1.1.5-4, it does from 1.1.5-6 on. > > But it _never_ uses another login name than the one which is given > > by the NT system (locale dependent). If you want that Cygwin sees > > admins as root, _you_ have to change the name like the aforementioned > > `myadmingrp' example. > > Okay, I'll go along with that. I believe the docs, though, imply that this > happens from 1.1 on. See > http://sources.redhat.com/cygwin/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.1. ?? That are only examples. If you misinterpreted that this might be related to my "non native" English. I have no problems if you decide to change or rewrite the documentation. It's open source. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT redhat DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com