delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/23/05:11:20

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:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=mDOX4T22eQRahjmh50nY+l4S8eVRsGADasLBbC2iFeQMVT0ZMbQlk
Ebk5Hhqu1dxNPm2N4OHSpd/T//cLIgNK1hFKBIuWOaEFeMXrEJFq3FwRYlrXfTb3
jZ4kfIdEUhOjZSMBn92Bx7PKhgXeAD5w/uF7Yk41OWEr2bQQnJgerM=
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:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=H22+SZfOLMM6y5pxm0Gyh0NxUfU=; b=GfeoPRhnmQHIHOIiNUzoXhTQWjFl
3rY3Li3KTHxwg2xHUOV+chxKdCLXqhtLHaElQR6GqMS0zeF8sMS8V9grjScUYX9o
peynooXAiglxdO1vSpsLEI5flrLq3sg7dvueUmk1y35Tex5kY0Kw84FGhHu8SpoS
B1IVZ9StN9zTmgM=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 23 Mar 2015 10:10:56 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.7.35 reads file permissions differently, affects fetchmail
Message-ID: <20150323091056.GC3017@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1503230918190 DOT 14799 AT vmdebian DOT local DOT koeppe-net DOT de>
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.00.1503230918190.14799@vmdebian.local.koeppe-net.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 23 09:57, Martin Koeppe wrote:
>=20
> Hi all,
>=20
> I just updated from cygwin 1.7.32 to 1.7.35,
> and now file permissions are calculated differently,
> which breaks fetchmail for me:
>=20
> Here are the Windows permissions:
> (no permissions for Domain Users / Dom=C3=A4nen-Benutzer)
>=20
> $ 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
>=20
> cygwin-1.7.32 $ ls -l
> -rwx------+ 1 LocalService Dom=C3=A4nen-Benutzer    1932 15. Aug 2014
> fetchmailrc.txt
>=20
> cygwin-1.7.35 $ ls -l
> -rwxrwx---+ 1 LocalService Dom=C3=A4nen-Benutzer    1932 15. Aug 2014
> fetchmailrc.txt
>=20
>=20
> Now, there are group permissions set. For me it breaks fetchmail, because
> fetchmail only runs when the config file is owned by the user running
> fetchmail (LocalService in my case, a system user I never can login with)
> and with max 0700 permissions. While this check is ok/good for Unix, beca=
use
> you still can view/edit the file as user root, you now can't anymore as
> Administrator on Windows.

Huh?  You can.  Just open a Cygwin admin shell and take a look.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVD9igAAoJEPU2Bp2uRE+gqX0P/0Mj8uOyBbtJvzeBdZh4qDAn
erTZaiMFFcUehKjnm3NGaqymCRJwbtYYJyIqeuCIlQ/p7vaTT0lN83GDEIzRRwPt
DRQsiXCAXfDzlUjgXWgi2Qjdntk6Jzq82nJhXx13wXJrO81MLoZt2ym5UTv4uqVV
1Z3kg2vALAESz7VK/Lh34qfI8l+TP8vgLio4t8i4HlKyvrN5KcOGdtcaMCiEBlKg
VDxATaXP1yoJaDg7GFqAPiTmds/jrW+jz1V5HYZFcfzWJoRDzBUCewdYQSvjq6c5
4lRhu74xZ4HonRDb7UkIB30yg8UN7WTP1Zur/coZLwsOR6FKg+6hqGVgWAfJmaL3
ZXZ7T/gpzgiJwWwcXczeoyndr645+aOmEBiK5la4U1KoowR7qNTSF0V5Gprxy73D
AuQrFX5alF6wpE61jc3Dn2FYC+wsCIN4ayrlxlcoDe0Vn+lpTqRmo7SnhLpN9LFY
gIYus0treXf7/OaEOfxQUtyDPu9Ixzyh7RW6LQRiH2WgjQma6Du92+LEsfzx+y21
dGBZTgwRGovYtplP9A/RHrPtVwaUauohxjBK/bTookgGYuD8xT6Ld3lujjYIOFlt
7AjiYBWDrGW6smif2jEvvHbxE+fEfP4YKeWg8OFVg1ZauEkCRH0aegMaGcUgruIU
f6li75fTMppmp6ZXRMHN
=PWUP
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--

- Raw text -


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