delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/26/09:57:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 26 Feb 2003 09:57:10 -0500
From: Ajay Simha <asimha AT cisco DOT com>
To: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Cc: Ajay Simha <asimha AT cisco DOT com>, cygwin AT cygwin DOT com
Subject: Re: cygstart, mutt or mailcap?
Message-ID: <20030226145709.GU2676@cisco.com>
References: <20030224153251 DOT GA305597 AT Worldnet> <20030223044932 DOT GA504 AT cisco DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0302231247200 DOT 16682-100000 AT slinky DOT cs DOT nyu DOT edu> <20030224151327 DOT GE1872 AT cisco DOT com> <20030224152458 DOT GH1872 AT cisco DOT com> <20030224153251 DOT GA305597 AT Worldnet> <3 DOT 0 DOT 5 DOT 32 DOT 20030225225734 DOT 007fb430 AT incoming DOT verizon DOT net>
Mime-Version: 1.0
In-Reply-To: <3.0.5.32.20030225225734.007fb430@incoming.verizon.net>
User-Agent: Mutt/1.4i

On Tue Feb 25 22:57:34 2003, Pierre A. Humblet wrote:
> At 11:09 AM 2/24/2003 -0500, Ajay Simha wrote:
> >On Mon Feb 24 10:32:51 2003, Pierre A. Humblet wrote:
> >> On Mon, Feb 24, 2003 at 10:24:58AM -0500, Ajay Simha wrote:
> >> > > -rwxrwxrwx    1 1040     65535         162 Feb 24 10:10
> ~$LS_capability_Questionnaire.doc
> >> > >                          ^^^^^
> >> This is unlikely to be the source of the problem, but just to
> >> figure out what's going on, try
> >
> >[asimha AT asimha-w2k02 /tmp]$ strace chmod 776
> '~$LS_capability_questionnaire.doc' | fgrep SID
> >  174   61576 [main] chmod 2460 cygpsid::debug_print: alloc_sd: 
>      owner SID = S-1-5-21-1801674531-2025429265-839522115-5320 <===== Who
> is 5320? 
> >  252   61828 [main] chmod 2460 cygpsid::debug_print: alloc_sd: 
>      group SID = S-1-5-21-1801674531-2025429265-839522115-513 <===== this
> is "None"
> 
> Ajay, here is a better answer.
> 
> You write '<===== this is "None"', but in an earlier message you gave us your
> group file with
> None:S-1-5-21-1458511060-810114045-807829424-513:513:
> so it isn't None.
> 
> You write '<===== Who is 5320?'
> and I think it's you.
> 
> This is my explanation: you are running under a domain account and you have
> not
> executed mkpasswd -d nor mkgroup -d

Thanks for the reply.

So here is my try at -d option:

[asimha AT asimha-w2k02 ~]$ cp /etc/passwd /tmp
[asimha AT asimha-w2k02 ~]$ cp /etc/group /tmp
[asimha AT asimha-w2k02 ~]$ mkpasswd -d > /etc/passwd
mkpasswd: [5] Access is denied. <========
[asimha AT asimha-w2k02 ~]$ more /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
[asimha AT asimha-w2k02 ~]$ cp /tmp/passwd /etc/.
[asimha AT asimha-w2k02 ~]$ more /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-ASIMHA-W2K02\Administrator,S-1-5-21
-1458511060-810114045-807829424-500:/home/Administrator:/bin/bash
asimha:unused_by_nt/2000/xp:1040:513:Ajay Simha,U-ASIMHA-W2K02\asimha,S-1-5-21-1
458511060-810114045-807829424-1040:/home/asimha:/bin/tcsh
Guest:unused_by_nt/2000/xp:501:513:U-ASIMHA-W2K02\Guest,S-1-5-21-1458511060-8101
14045-807829424-501:/home/Guest:/bin/bash
[asimha AT asimha-w2k02 ~]$ 

-ajay
> You also have a local account with the same name. When you enter Cygwin from
> Windows, Cygwin finds an entry under your name and does its best to use it,
> among other things creating files with the gid of your local account and
> mapping
> the local uid to the domain sid.
> However MS Word uses your domain account gid, which is missing from
> /etc/group.
> Hence the ???????.
> 
> Pierre
>   
> 
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019