delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/26/08:08:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990826120402.22435.rocketmail@web113.yahoomail.com>
Date: Thu, 26 Aug 1999 05:04:02 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: B20: Open file on NTFS sets security to unexisting domain/user
To: cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Andrzej DOT Pruszynski AT eur DOT autodesk DOT com wrote:
> Hi cygwin group,
> 
> I applied "19990819" snapshot on my "GNU bash, version 2.02.1(2)-release
> (i586-pc-cygwin32)", installed on English NT4.0, SP3.
> 
> 1/ ==============
> How to reproduce the "open file on NTFS" bug:
> 
> 1. Start bash
> 2. Change drive to NTFS drive ("cd D:" in my case)
> 3. Run "touch test.ap"
> 
> Now, with Explorer "Properties" of file, you will find that file permissions
> are set to three users. In my case it is:
> . Everyone
> . LEM\Administrators
> . NEUCHATEL\andrzejp
> and all of them have "Special Access (RWDPO)"
> 
> On test1.ap file created with MKSToolkit "touch" command, only "Everyone" is
> set with "full" access.
> 
> Mind that I'm logged as AUTODESK\andrzejp (NEUCHATEL\andrzejp user was
> deleted some time ago).
> 

Hey, I think this must be part of my old problem also.


> 2/ ==============
> Within bash, "ls -l" reports:
> -rw-rw-rw-   1 andrzejp Administ        0 Aug 26 09:56 test.ap
> -rwxrwxrwx   1 andrzejp Administ        0 Aug 26 09:57 test1.ap
> 
> test1.ap was created by touch command from MKS Toolkit. Then "ls -l" from
> MKS Toolkit reports:
> -rwxrwxrwa   1 NEUCHATEL\andrzejp Administrators                0 Aug 26
> 09:56 test.ap
> -rwxrwxrwa   1 Administrators  AUTODESK\Domain+Users       0 Aug 26 09:57
> test1.ap
> 
> 3/ ==============
> So the first problem is that files have unnecessary users/permissions set,
> the second that removed or non-active users get permission on created files,
> but not the active user.
> 
> My current problem is that it is impossible to use rsync program (2.3.1) I
> compiled in Cygwin box, as rename will fail for permissions reason.
> 
> Andrzej Pruszynski

Thanks Andrzej for this nicely documented bug report.  You can eliminate the
new NT Seurity coding by adding nontsec to the CYGWIN environment variable. 
Although, it would be nice to have you test the results of bug fixes.  I'm sure
Corinna will want to communicate with you on the problem.

===
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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