delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/08/18:51:21

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Oddities with file deletion on CIFS drive
References: <FF9587650EB15D3C59CFAA56@[192.168.1.2]> <4C881018 DOT 4060809 AT cygwin DOT com> <A6B0B94B22709FC369553C11@[192.168.1.2]>
In-Reply-To: <A6B0B94B22709FC369553C11@[192.168.1.2]>
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

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 AT zre-win-002 /cygdrive/z/current/WINDOWS
> $ whoami
> build
>
> build AT zre-win-002 /cygdrive/z/current/WINDOWS
> $ ls -l blah
> ls: cannot access blah: No such file or directory
>
> build AT zre-win-002 /cygdrive/z/current/WINDOWS
> $ touch blah
> l
> build AT 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

- Raw text -


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