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=hBJuzjaTRfmtJUHECSBpkyIytPnXoMDgf/Xqu5tZZ6/nZ714+6OxQ 5kD9DtrZ9d3hGVNf6qee+2wFszsbnFt8E9cv7vYzsuzjfJUFZRmCAuzEvmR7gz9U U6O9zOumpIEwbYrAyaGJfvTgZ1Y85R82svHyAzI9CrYD1pFD3BsSCk= 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=WFTXsDfNBnzI55z2PLfNGf7iTRc=; b=LKFu2uNELNpC3JWfkHu+aN1S5yLN q5zSyAU8XY0xWT/oN3Z7k8RRjpctJPdS/fxan1p0vAGZXUQGoJvNqjwy/aCWftvz 8J/VKqGEW+Sv7bDwg0nRNVzcgpVL7T1SugdBVK7kmXYB7qk2ZrDCUi3dL00a/dEd tE8ZFq/tNYZmm+o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: Fri, 25 Jul 2014 14:42:00 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: The eternal uid issue Message-ID: <20140725124200.GC8725@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <53CF6CEC DOT 6D68E485 AT boland DOT nl> <20140723091409 DOT GH27005 AT calimero DOT vinschen DOT de> <53CF9E0F DOT F596FC60 AT boland DOT nl> <20140723152357 DOT GA24446 AT calimero DOT vinschen DOT de> <53D0AD3A DOT 1FDF0B3F AT boland DOT nl> <20140724135222 DOT GD12212 AT calimero DOT vinschen DOT de> <53D17DCD DOT 726524E0 AT boland DOT nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2/5bycvrmDh4d1IB" Content-Disposition: inline In-Reply-To: <53D17DCD.726524E0@boland.nl> User-Agent: Mutt/1.5.23 (2014-03-12) --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 24 23:42, D. Boland wrote: > [...] > Sendmail checks if the user's home directories are group- or world > writable. It does this with 'stat'. If Sendmail is running in 'crude' > mode (main program and children running as the Sendmail 'smmsp' user, > made admin), stat returns the right file mode for my home directory > (rwxr-xr-x). The email is delivered. >=20 > If I have Sendmail running in preferred mode (main program as > cyg_server, children running as 'smmsp', removed from admin group), > stat returns the wrong mode (rwxrwxrwx). As a consequence, Sendmail > refuses to deliver email. >=20 > Can I do anything about this? That shouldn't happen. Unless your home dir is on FAT or FAT32 and you're using the wrong umask. For a start, can you try this: Login as user smmsp twice, once with admin privs, once without. Each time, run the following command: $ strace -o stat.trace stat And send the output of stat, as well as the two generated trace files here. This might give us a clue. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --2/5bycvrmDh4d1IB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT0lCYAAoJEPU2Bp2uRE+gjwoQAJP7TdYZ3KPIzLmnwFkmsKXH Irn9VyOSmx16xyZTriV59clAiltI/TKo2fSQ4Y5Nw0n28KjGRcecokOYkuMH9GKj jreYkKN/D4wsP5MPDCGlzt1KBHPB8nsrh3aGZWVxsMpH7STt7KliJVFArQSGrNVe jn/03gTGnpknZFUUaITCcxRcYNwtCosqleqgTMctWeIMbJ4wAXRR34HqQHKp7Ndw CxAs5VewhQlSCYzSbOIb+qC4vi+WEwzxYfZQ2rWnHUn55DDcHPirYgDDmJeBFqmE Xb92OahY7gYPCHvk4GR7uBcIlGdeT0ny9vgJBF678B7GUFq+wB9AHDO+hExIuKLm fD1fZrO4vJkwbRqryXP7Pmrh+7OwigB1j38vtdHFZEV3ygfWMLIkLnUBAV6k88u3 qu84kwJ85BX6GOUos+cWnhCaODk8gSVvNbvST9XT/S6ANwbTS3+574j9g4eZp+Ow MJdwUACODyC/fyeJmppIT1Si2PbCtN02kJPf7MdJrq/8o0r3v7z5nl2qnssarp8N aEmetHCObA3MuMx6oG3+Sq0N6UFOKEKC1/S5UOGAu/9Mg8RoGmZsoEPd9869MopC tDFFK3zQVP3nR7kPeEuT2H3N1NhcTfrJmfYvdml7G1/HjOTAQcByVcJXR74CVQup JeEpL/YhdpdjDvvRfL3J =iVRb -----END PGP SIGNATURE----- --2/5bycvrmDh4d1IB--