delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/26/14:48:24

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=qDgFo
rE8ZOpnhkLxvvuWDtFYlWhLh2CQnY+wh3hDphf3j85CUD/OUPU+eh1+8ha1AIRBY
1q2pMmHPRkmRxM7RT6tE773OrsfdndEmkcOa27PeiDXFdmGkkAJuUU+zFPuAAAmW
VWeUd0rkxL1ccaks53tlawJ7+qgBNQ1T7USGYI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=hLmaPzKbcg5
1lSA1FLfUoLncdVA=; b=oSQ4XCp00rZlTckJTayEcEcGDini/y1a+8re4lPj5fD
PY9XKrmAxQ1Lc8fV++XUBMObCsdpqjTdVqD90B8mZi92byN8prc3YqLK+7I1etV3
aDTwJT2jdK+JPCZRfcXGh6xGQhnYBddkfXrCZCFa/OXPpGfaSizL8cE+4jsokc/Y
=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-10.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3ktPg30slqz4nSn
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Too Many Permissions Stripped In 1.7.35?
References: <CADi7v6JajieaQGq3N5LY2Ck2m7SiOTci6au5t7RL4gxZdvBgEw AT mail DOT gmail DOT com>
Date: Thu, 26 Feb 2015 20:47:55 +0100
In-Reply-To: <CADi7v6JajieaQGq3N5LY2Ck2m7SiOTci6au5t7RL4gxZdvBgEw@mail.gmail.com> (Bryan Berns's message of "Thu, 26 Feb 2015 14:35:01 -0500")
Message-ID: <87twy8cv4k.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0

Bryan Berns writes:
> I honestly haven't read up exactly how Cygwin interprets NTFS
> ACL/ACEs, but I remember seeing on the mailing list that a change was
> made in 1.7.35 was made to permission handling.  It is preferable in
> my organization that the SYSTEM account always have full control the
> local file system.  When using chmod under 1.7.35, it looks like
> permissions for SYSTEM get stripped (as well as some others).  Is this
> the desired behavior?

That's the latest attempt to make those tools conform more closely to
POSIX semantics (which it actually does).  As you note, this is fine if
that's your goal and undesired or even somewhat dangerous if you aren't
aware of it and letting them lose on Windows' own files.  I have an
inkling that (just like acl/noacl) this removal of ACL depending on
which way you set the file modes should probably be an option to chose
in the fstab for each mount listed there, especially if it works on bind
mounts.  However, I'm not sure how much that would complicate the code
and if it's realistic to expect that to be implemented soon.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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