delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/23/04:57:33

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:date:from:to:subject:message-id:mime-version
:content-type:content-id; q=dns; s=default; b=hCKCa94EaNtwgQzDql
gHt93wRPfrYEncXd98MWN3gCBLsQrz9Vu8AfhOuwQJ/G+5kdJ+Co/giI0A8pEMjR
z6UL4hZiThl8xrICwHUS+eGvSpRNTKFNDTxRTTheFb5R0h60nsaSTmJv5xpQ4O5Q
rxdktKN0yeJ05x7QPpD2Z9Sao=
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:date:from:to:subject:message-id:mime-version
:content-type:content-id; s=default; bh=j81XdpJs4RmbZ/KZrWogzhbr
ANA=; b=vzRulpva2IFixcj5E6FyjRz8Ze/vztGyjehANBCPMK1WPeuXQoZBDHL+
ns+1KOCxEqA04l1eNuZ/mksYF5mm1hYCCCsJEivybQPFd6drir73IazGTyzym57+
YymjniDtSVHhgy9Ra5V+M38oKrKw0+uT3Y8sKZVnud+J4hN67aY=
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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mout.gmx.net
Date: Mon, 23 Mar 2015 09:57:08 +0100 (CET)
From: Martin Koeppe <mkoeppe AT gmx DOT de>
To: cygwin AT cygwin DOT com, fetchmail-users AT lists DOT sourceforge DOT net
Subject: cygwin 1.7.35 reads file permissions differently, affects fetchmail
Message-ID: <alpine.DEB.2.00.1503230918190.14799@vmdebian.local.koeppe-net.de>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
X-UI-Out-Filterresults: notjunk:1;

--118096395-1327402803-1427100650=:14799
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <alpine DOT DEB DOT 2 DOT 00 DOT 1503230955431 DOT 14799 AT vmdebian DOT local DOT koeppe-net DOT de>


Hi all,

I just updated from cygwin 1.7.32 to 1.7.35,
and now file permissions are calculated differently,
which breaks fetchmail for me:

Here are the Windows permissions:
(no permissions for Domain Users / Dom=E4nen-Benutzer)

$ cacls fetchmailrc.txt
D:\fetchmail\fetchmailrc.txt NT-AUTORIT.T\SYSTEM:(ID)F
                              NT-AUTORIT.T\LOKALER DIENST:(ID)C
                              DOMAENE\LocalAdmin:(ID)F
                              VORDEFINIERT\Administratoren:(ID)F

cygwin-1.7.32 $ ls -l
-rwx------+ 1 LocalService Dom=E4nen-Benutzer    1932 15. Aug 2014=20
fetchmailrc.txt

cygwin-1.7.35 $ ls -l
-rwxrwx---+ 1 LocalService Dom=E4nen-Benutzer    1932 15. Aug 2014=20
fetchmailrc.txt


Now, there are group permissions set. For me it breaks fetchmail,=20
because fetchmail only runs when the config file is owned by the user=20
running fetchmail (LocalService in my case, a system user I never can=20
login with) and with max 0700 permissions. While this check is ok/good=20
for Unix, because you still can view/edit the file as user root, you=20
now can't anymore as Administrator on Windows.


So cygwin's old calculation helped me to get it working that both=20
fetchmail is happy as the file is only accessible by the user running=20
fetchmail and I am happy to be able to change the file as=20
Administrator. This seems now broken, or is there still a possibility=20
to do that?


@fetchmail's maintainers:
Is it possible/desired/ok to disable this check on Cygwin?


Thanks
Martin=


--118096395-1327402803-1427100650=:14799
Content-Type: text/plain; charset=us-ascii

--
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
--118096395-1327402803-1427100650=:14799--

- Raw text -


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