delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/28/09:25:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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: <c=DK%a=_%p=CD-Danmark%l=CDDKSERVER-000628132346Z-2240@cddkserver.cddk.dk>
From: Peter Ring <PRI AT cddk DOT dk>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: cp needs Full control?
Date: Wed, 28 Jun 2000 15:23:46 +0200
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.996.62
MIME-Version: 1.0

I'm running a fairly up-to-date installation of cygwin (1.1.2) on a NT
4.0 workstation in a NT domain, with ntsec and /etc/passwd and
/etc/group with NT SID's.

When I cp a file to a directory on a NT 4.0 net share where 

* I have only 'Change control', i.e., I do not have permission to change
permissions, and
* the file does not exist beforehand,

I observe this behaviour:

* the file is copied all right, owned by me and group 513 (i.e., 'Domain
Users'), but
* cp returns a status of 1 and prints 'Permission denied' on stderr

On the other hand, I can create a file by running touch without any
problems. While this obviously works as a work-around (first touch
/dat/newfile, then cp /diz/somefile /dat/newfile), I'm a bit puzzled.

What gives?

Kind regards
Peter Ring

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