delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/28/03:09:28

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:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; q=dns; s=default; b=S7l
CVJHXbi/ZDl/noFxAjfXUPrWy2WjtW+IHuoYwQzsof13y1QIvjUJDYU0xwCe3q2P
Wl7fBgcezKY6GRw+flTs6IZqIoFb9qzZUHUVtzGmgpKLeJQMmU7ZsBB6SFPVrNPe
hyRZdcW2busaXnf1k/ukqmklYkAeUCuENQH0DyiA=
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:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; s=default; bh=M3TRpo0J5
4QGXyMRBTL5JMVhqmg=; b=JWdKi3ouigkC/7hhnii+O5s37qZFxRQsfGdVoA4rc
rOmOSz/RB65W9rcbzSbuCGVfs2NjgWjgVAGrsBlwA02p86E0ar8YTLaSnbONjIk4
4yT6bfLJAvvXv991TzoBoWMxVBRPbMyfkez0iJtclvXGxRAyWXTpWhm6uw9PpRpF
uk=
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=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_EXCESS_BASE64,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Received:Wed, H*c:alternative
X-HELO: mail-vk0-f54.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XmdX1rnJBvbHF3opBI6CVVCaWGzVyGJ/4apihrhgC44=; b=sKmWlT/5/BMb2+fckQsKAJWsAUVpgaT6tEQIlaDlHYhh1X+ivNvjcSJ7zeUGNx4Nht vgkcYFuke29ZYAgwpQagLljQy8KsYr4vE9jYtZP/ELbYcKvXtTqCtbBjGS2UsbPVlNfw W+QjWuSJDlrvA4n0JX8bX1mYjFKgFXCPskNv6RDreE+dJQ7O4y0dS/H00I9017UJR0sY EHCaF//jT3AfFJ9pkWCjIcLGnm9g7inN6is8gCEG5EU6Qep6pMwUiZPuQsBRWvnOIvvc 6/hbTeMVT61YBt0OhgfuSGjXeCeD51EmzlwGFnL4rnVV+mQMekm+mbs8AezjfCB8UAqf 2Eyw==
X-Gm-Message-State: AElRT7EhnkA9A8mpHSKMfimsM9FVZ5Jb+cOx+efeudcDs+In3j9JUKw0 AoS4GxnaOaAN6NGg9sFZ0ba4uX/gp28d7PoT7Wmreg==
X-Google-Smtp-Source: AIpwx499shkegNbg6B3bTj/Ic+YGd/pdsYPy4SirrmZ3BJySNNwGwb04VsEzbs6H4cizrinVt8Pvbe9ymzPyznE/tRo=
X-Received: by 10.31.52.203 with SMTP id b194mr1627788vka.100.1522220953865; Wed, 28 Mar 2018 00:09:13 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?B?S2pldGlsIMOYc3RlcsOlcw==?= <kjetilos AT gmail DOT com>
Date: Wed, 28 Mar 2018 09:09:13 +0200
Message-ID: <CAFeO1eoW52-4S4gD0=YL7g1YKsjjn9Jk8twV22e57HmmKQc5vg@mail.gmail.com>
Subject: Filemode change by windows applications
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w2S79Q2H002924

Hi,

I notice that when I edit and save a file in a windows application this
file sometimes get the execute file permission set in cygwin. Some windows
applications do this and some don't. For instance in my setup if i modify a
.c file using Meld then the execute bit is set, however when I modify the
same file with sublime text 3 then the execute bit is not set.

Why does this happen? and is there anything I can do to prevent windows
applications from setting the execute bit on my files?

-- 
Kjetil Østerås

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