delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/11/16:27:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=5.0 required=5.0 tests=BAYES_40,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Message-id: <4BC23099.3000502@cygwin.com>
Date: Sun, 11 Apr 2010 16:27:05 -0400
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.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: git-1.7.0.4-2, git{k,-gui,-completion,-svn}-1.7.0.4-2
References: <announce DOT 4BBA6105 DOT 7080204 AT redhat DOT com> <p2la9a39a211004081350u26a552b8o6153459c44ffe08c AT mail DOT gmail DOT com> <4BBE432E DOT 4000001 AT cygwin DOT com> <r2qa9a39a211004110738w1cd39e97t795103d35e22678e AT mail DOT gmail DOT com>
In-reply-to: <r2qa9a39a211004110738w1cd39e97t795103d35e22678e@mail.gmail.com>
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

On 4/11/2010 10:38 AM, Frédéric Bron wrote:
>> Switch to NTFS and set the permissions you need where you need them
>> to the well-known SID of world/Everyone?
>
> I have formatted my disk to ntfs. Then I have removed everybody from
> permissions and added only Everyone with total control.
> When I create a file in windows on this drive : permissions are just
> the same, i.e. Everyone=total control.
> However, when I create a file from cygwin (1.7) with
> $ touch foo
> I get the following permissions:
> Domain Users = Read
> MySelf = Read/Write
> Everybody = Read
>
> So Everybody has not total control and I am sure I will have trouble
> on another computer.
> What should I do? Should I mount this disk differently? Currently I
> use the default via /cygdrive/?

Set umask to 000?

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

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