delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/05/18:52:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 5 Dec 2000 15:43:57 -0800 (Pacific Standard Time)
From: Joachim Achtzehnter <joachima AT realtimeint DOT com>
To: <cygwin AT cygwin DOT com>
Subject: cp uses NT5 permissions on NT4
Message-ID: <Pine.WNT.4.30.0012051543080.150-100000@van4.realtimeint.com>
MIME-Version: 1.0

With cygwin 1.1.6 (and also 1.1.5) under some circumstances the cp program
from GNU fileutils 3.16 creates files and directories with NT5 permission
attributes that cannot be read by NT4.

In the case at hand I was copying a tree from a remote shared drive to a
local disk using a command like this:

  cp -Rf M:/ACE_wrappers/5_1-1_1/docs/* d:/release

On the M: drive the Security/Permissions tab shows two entries like this:

  Domain Admins    Full Control (All) (All)
  Domain Users     Change (RWXD) (RWXD)

and my user is a Domain User, hence I can read the source files of the cp
command. After the copy command returns the destination files and
directories on the D: drive cannot be accessed by me. When opening a file
with notepad I get "Access Denied".  Looking at the Security/Permissions
tab for one of the new files I get an error like this:

  The security information for D:\release\CE-status.txt is not standard
  and cannot be displayed. Windows NT 3.x and 4.x support certain features
  such as Deny Access Control Entries but cannot edit security information
  which uses these features. The information may have been modified by a
  computer running Windows NT 5.0, which supports these features and can
  edit information which uses them.

We don't have any NT5 systems at all, only NT4.

Joachim




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