Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Wed, 24 May 2000 14:19:33 -0400 To: "cygwin-developers AT sourceware DOT cygnus DOT com" Subject: Re: call to writeable_directory in _unlink: Do we need it? Message-ID: <20000524141933.A4308@cygnus.com> Mail-Followup-To: "cygwin-developers AT sourceware DOT cygnus DOT com" References: <4 DOT 3 DOT 1 DOT 2 DOT 20000524132333 DOT 00e5d910 AT pop DOT ma DOT ultranet DOT com> <392C173E DOT 704F5DCD AT vinschen DOT de> <4 DOT 3 DOT 1 DOT 2 DOT 20000524140935 DOT 00e4e510 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <4.3.1.2.20000524140935.00e4e510@pop.ma.ultranet.com>; from lhall@rfk.com on Wed, May 24, 2000 at 02:14:59PM -0500 On Wed, May 24, 2000 at 02:14:59PM -0500, Larry Hall (RFK Partners, Inc) wrote: >I'm left with the impression that the best option is to use the >writable_directory() call when ntsec is not enabled and skip it when >it is. Sounds to me like it wreaks havoc on proper ntsec function >but gets as close to UNIX behavior as possible for nontsec. If this >is indeed a valid synopsis of the pros/cons of this case, my high level >view of this conditionalize the use of writable_directory. Did I miss >some important point? I think that I agree with Corinna. I've always had reservations about this call, too. It's imposing UNIX permissions on NT and limiting cygwin's ability to do things that a normal windows program can do. I think that this is a gratuitous consistency and that it should be eliminated. If people start noticing problems then we can always put it back. cgf