Cygwin Everyone group permissions and Vista "shared files" (*not* shared folders)
Larry Hall (Cygwin)
Fri Nov 14 17:14:00 GMT 2008
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
>>>> 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
> 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
> 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
More information about the Cygwin