delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/08/19:09:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Wed, 08 Sep 2010 16:07:26 -0700
From: Quanah Gibson-Mount <quanah AT zimbra DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Oddities with file deletion on CIFS drive
Message-ID: <B48B4F1E5934DC7067F010CA@[192.168.1.2]>
In-Reply-To: <4C881357.4070100@cygwin.com>
References: <FF9587650EB15D3C59CFAA56@[192.168.1.2]> <4C881018 DOT 4060809 AT cygwin DOT com> <A6B0B94B22709FC369553C11@[192.168.1.2]> <4C881357 DOT 4070100 AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

--On Wednesday, September 08, 2010 6:51 PM -0400 "Larry Hall (Cygwin)" <> 
wrote:

>
> OK, take a look at <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids>.
> You'll want to use 'mkpasswd' and 'mkgroup' to get the passwd and group
> files fixed up.

I've read that page multiple times, and it still looks greek to me. :/ 
What I know is, the CIFS drive is mounted as the user "build".  The user I 
log into windows with is "build".  The user cygwin runs under is "build". 
So all 3 of those match.  I don't see why there's any issue at all 
determining who owns the files.

build AT zre-win-002 ~
$ id build
uid=503(build) gid=513(None) groups=513(None)

build AT zre-win-002 ~
$ grep build /etc/passwd
build:unused:503:513:U-ZRE-WIN-002\build,S-1-5-21-1229272821-2049760794-1417001333-1003:/home/build:/bin/bash

build AT zre-win-002 ~
$ grep 513 /etc/group
None:S-1-5-21-1229272821-2049760794-1417001333-513:513:

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

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