delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/01/14:35:49

X-Spam-Check-By: sourceware.org
X-UNTD-OriginStamp: blCAX6a0p7TIdm7tUeQl7v1kvtZ8GLOdjRFbwGvh9tOO8pcBRgCOTg==
Mime-Version: 1.0
From: "phil long" <tinstaafl AT juno DOT com>
Date: Thu, 1 Mar 2007 19:33:50 GMT
To: cygwin AT cygwin DOT com
Subject: RE: Deprecating ntea
X-Mailer: Webmail Version 4.0
Message-Id: <20070301.113442.773.317861@webmail45.lax.untd.com>
X-ContentStamp: 22:11:978971961
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l21JZcvL028512

Corrina Vinschen wrote:
> Hi,
> 
> I think it's time to remove the CYGWIN=ntea setting from Cygwin.
> (see http://cygwin.com/cygwin-ug-net/using-cygwinenv.html)
> 
> The reason is that it's just a fake.  It fakes POSIX permission bits
> by using the "extended attributes" capability built into NTFS.  it
> also works on FAT by creating a bulky file in the root directory
> of the partition.  Extended attributes were never implemented on
> FAT32, so "ntea" could never work on FAT32.
> 
> So, IMO, ntea is not at all necessary.  Given that practically all
> Windows systems nowadays are using NTFS and given that NTFS supports
> real permissions, not only faked ones, I don't see any need for ntea.
> 
> I even consider ntea as dangerous, because it pretends a security
> which doesn't exist.  That's what the default ntsec setting is for,
> utilizing real permission settings.
> 
> Ok, that's my opinion, which should make it clear that I think
> ntea is old cruft which should be removed from Cygwin.
> 
> My questions are thus: Does anybody seriously use ntea?  Do you think
> you can't live without it?  Is using ntsec or just switching off
> ntsec no option for you?  Why?  Or, to phrase it as I did on the
> cygwin-developers list:
> 
> Does anybody have a good argument to keep this cruft against all
> reason?
> 
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin
> to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat

Corinna:

I agree that 'ntea' should be removed.

Besides being dangerous, it can also cause pain.  When I first started
using Cygwin, I misunderstood the intent of 'ntea' and included it in
the setting of my  CYGWIN environment variable.  Recently, I upgraded
one of my installations, and the 'ntea' setting started causing files
on some fileservers to which I connect to be treated as device files.
Worse yet, these fileservers would occasionally _not_ show up that
way, so the intermittent nature of the problem drove me nuts.
Eventually I removed the 'ntea' setting, and the problem went away.

The lesson I learned was two-fold:
   (1) Be _very_ careful when changing settings from the default;
   (2) Go back occasionally to make _/sure/_ that the settings
       used make sense.

OK, anybody other than the brain-dead should have already known number
2, but I'm a little slower than normal...



________________________________________________________________________
FREE Reminder Service - NEW from AmericanGreetings.com
Click HERE and never forget a Birthday or Anniversary again!
http://track.juno.com/s/lc?s=197335&u=http://www.americangreetings.com/products/online_calendar.pd?c=uol5752



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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