www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/21/17:22:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C1FD7FD.6010805@tlinx.org>
Date: Mon, 21 Jun 2010 14:22:05 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Bug report / Cygwin prob...
X-Stationery: 0.5.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I have two accounts on my client machine.  One is me AT workstation,
the other is me AT Domain.  They are both me and I need to have them
be able access each other's files mostly transparently.  

As a result, in windows, I setup a group (megroup) that contains both 
me and me!  (@workstation/@domain) and set files to be owned 
by "megroup", *argh, matey!*

Cygwin shows them owned by "-1" (in hex) -- not a very useful number!  
Is it really the case that the windows API returns -1 for the ownership
of this file?  I made sure that megroup is in the /etc/password file
(as copied from its /etc/group entry).

So why is cygwin complaining?  I noticed that it doesn't like it when
I try to 'chown' using 'megroup' either!  

So wazzup?  Does cygwin specifically check for 'megroup's, and invalidate
them if they are groups?  Why not just acknowledge that they are 
owned by the SID that they are and display it as such?

ARG! megroup is bein attacked by pirates!!!  :-)

Linda

--
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

- Raw text -


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