delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/14/11:56:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <491DAC96.3050505@cygwin.com>
Date: Fri, 14 Nov 2008 11:51:34 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080723 Fedora/2.0.0.16-1.fc8 Lightning/0.9 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin Everyone group permissions and Vista "shared files" (*not* shared folders)
References: <5e4cc4153gf115hcpi4ilk2s787klg6sra AT 4ax DOT com> <20080929165252 DOT GC11053 AT calimero DOT vinschen DOT de> <20080930163346 DOT GK11053 AT calimero DOT vinschen DOT de> <20415300 DOT post AT talk DOT nabble DOT com> <20081110115230 DOT GA2884 AT calimero DOT vinschen DOT de> <7j5ih4pea29aj7pnmn186b8uitoeboetkb AT 4ax DOT com> <4919B55D DOT 10606 AT cygwin DOT com> <m91ph4pnikh01uitm0mb7ufuudb93j0mat AT 4ax DOT com> <491C8DF5 DOT 2070301 AT cygwin DOT com> <20081114094657 DOT GE19442 AT calimero DOT vinschen DOT de>
In-Reply-To: <20081114094657.GE19442@calimero.vinschen.de>
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

Corinna Vinschen wrote:
> On Nov 13 15:28, Larry Hall (Cygwin) wrote:
>> Barry Kelly wrote:
>>> Larry Hall (Cygwin) wrote:
>>>> Barry Kelly wrote:
>>>>> Corinna Vinschen wrote:
>>>>>
>>>>> I, for one, use Cygwin not primarily as a POSIX emulation layer, but as
>>>>> my main Windows user interface. IMHO in this situation, being posixly
>>>>> correct is a handicap that Cygwin could do without, at the user's
>>>>> choice.
>>>> So what about the "nontsec" option doesn't address your need then?
>>> It disables NT ACL manipulation via chmod, chown and chgrp.
>> Understood.  But this is allowed under SUSV3.  Cygwin has getfacl/setfacl
> 
> Erm... I'm not sure what SUSv3 has to do with that.

<http://www.opengroup.org/onlinepubs/009695399/>, second paragraph.
Perhaps I'm misreading it but to me this says that chmod and friends
may or may not opt to change access control beyond the realm of the
literal mode.  Cygwin's doesn't and that's perfectly valid.

> I really don't like the idea to make excemptions just for a small part
> of the harddisk which gets mistreated by Microsoft.  Don't do Cygwin
> stuff in your Windows home dir, create a Cygwin specific home dir
> instead.
> 
> If that's not feasible, switch off ntsec and you get standard Windows
> permissions.  If the standard Windows permissions are not as you need
> them, don't rely on Cygwin's chown/chmod. rather change the inheritence
> settings of the parent directory according to your needs.  Then you get
> the required permissions right from the start.  Nothing against using
> chown/chmod in some border cases, Berry, but in your situation they are
> just a workaround for bad permission settings.

I'm not in disagreement here.  Obviously anything that someone decided
to try here would have to meet the performance criteria.  To me, it seems
easier to use other available tools to manipulate files in the nontsec
environment.  And don't get me started on Vista's "shared" debacle! ;-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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