X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4C881357.4070100@cygwin.com>
Date: Wed, 08 Sep 2010 18:51:03 -0400
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Oddities with file deletion on CIFS drive
References: <FF9587650EB15D3C59CFAA56@[192.168.1.2]> <4C881018.4060809@cygwin.com> <A6B0B94B22709FC369553C11@[192.168.1.2]>
In-Reply-To: <A6B0B94B22709FC369553C11@[192.168.1.2]>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 9/8/2010 6:45 PM, Quanah Gibson-Mount wrote:
> --On Wednesday, September 08, 2010 6:37 PM -0400 "Larry Hall (Cygwin)" <> wrote:

<snip>

>> I think you need to look at why the user that created the files in the
>> first place isn't known to Cygwin. If you can solve that problem, you
>> may find the rest falls into place.
>
> No clue, I assume it is some bug in cygwin, since this happens to any file
> created on this drive via Cygwin.
>
> build@zre-win-002 /cygdrive/z/current/WINDOWS
> $ whoami
> build
>
> build@zre-win-002 /cygdrive/z/current/WINDOWS
> $ ls -l blah
> ls: cannot access blah: No such file or directory
>
> build@zre-win-002 /cygdrive/z/current/WINDOWS
> $ touch blah
> l
> build@zre-win-002 /cygdrive/z/current/WINDOWS
> $ ls -l blah
> -rw-r--r-- 1 ???????? ???????? 0 2010-09-08 15:45 blah

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.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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

