www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/06/17:58:14

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: <393D72B2.3148DFBA@vinschen.de>
Date: Tue, 06 Jun 2000 23:52:50 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Adam Schlegel <aceschle AT thinkage DOT ca>
CC: cygwin mailing list <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Latest Snapshot
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10006061640410 DOT 7787-200000 AT mailhost DOT thinkage DOT ca>

Adam Schlegel wrote:
> The output of these commands differ with differing dlls:
> With cygwin1.dll version 1.1.1, I get:
> $ mkdir a
> $ chmod a-w a
> $ touch a/b
> $ echo Hi >a/c
> $ rm a/b
> rm: a/b: Permission denied
> $ rm a/c
> rm: a/c: Permission denied
> $ rm -rf a
> rm: a/b: Permission denied
> rm: a/c: Permission denied
> rm: a: Permission denied
> $ chmod a+w a
> $ rm -rf a
> 
> However, with the new snapshot I get:
> $ mkdir a
> $ chmod a-w a
> $ touch a/b
> $ echo Hi >a/c
> $ rm a/b
> $ rm a/c
> $ rm -rf a
> rm: a: Permission denied
> $ chmod a+w a
> $ rm -rf a
> 
> I can delete files from a without having write permission to a when using
> the new dll. This is not the behaviour that I would expect.

The new behaviour is (now) expected because we made a small
design decision, not to disallow what is normally allowed in
Windows. In fact you may delete the files from Explorer without
problems. Moreover, the previous design results in a wierd
problem with samba shares.

Thank you for your feedback,
Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

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