delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/20/21:38:11

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
Message-ID: <7867A43ABE52194C9F2C6E5C15E9C2FA2FC148@backoff.isecure.com.au>
From: "Sundstrom, Peter" <Peter AT isecure DOT com DOT au>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: 1.3.5 cp/permissions bug
Date: Wed, 21 Nov 2001 13:41:17 +1100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

I'm running 1.3.5 on Win2K

The cp command doesn't seem to understand permissions correctly.  See
following example:

Administrator AT SCANNER$ cd /tmp
Administrator AT SCANNER$ touch foo
Administrator AT SCANNER$ chmod 000 foo
Administrator AT SCANNER$ ls -l
total 0
----------    1 Administ None            0 Nov 21 13:34 foo
Administrator AT SCANNER$ cp foo foo1
cp: `foo.exe' and `foo1' are the same file

Doing the same on a Solaris box gets the error:

cp: can not open foo: Permission denied

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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