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=lIJlfkpI83c9LucWAaqeMSI+4SQgRUZsKZf061uF/Dh7SfROGmJwA sS/VHRPAuK9qWIhmXY5d5ZP2S3HYu2fUr/PrClDE7baekTLptUjw0+WywEg678YT BBV7UwyDclHohGisszLWDozxn0FRS8EhU9cYdn2V4meNOU7ZQaRnrU= 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=lj5I1LdMlarwm/DTopUEMyR6acU=; b=eM3LyGWaPQJ3qzVnVZ/pDoRJga1n jRBfp9CyUWAKcbcW3eOWG9UkbzgO/AktkZGNvOjeAhRf3JlGEmLENEJiBJlTvXuA V9s/4/Zq0fLrya3Yjacsbxzs3Eo5QTmEl8dlIGxPhblitWsnclvAG438r8T59Dj6 A++yLPr83cKg5jY= 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:47:50 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: The eternal uid issue Message-ID: <20140725124750.GE8725@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> <20140725124200 DOT GC8725 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FN+gV9K+162wdwwF" Content-Disposition: inline In-Reply-To: <20140725124200.GC8725@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) --FN+gV9K+162wdwwF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 25 14:42, Corinna Vinschen wrote: > 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? >=20 > 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: >=20 > Login as user smmsp twice, once with admin privs, once without. > Each time, run the following command: >=20 > $ strace -o stat.trace stat >=20 > And send the output of stat, as well as the two generated trace files > here. This might give us a clue. Oh, hang on. Is this using the default setuid method 1 and is your home dir on a remote share, by any chance? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --FN+gV9K+162wdwwF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJT0lH1AAoJEPU2Bp2uRE+gE2MP/iu4Q1uf5elztpuNOmWsAE9m 4Anv4ZMuvqKtEBwv1IbnlyrMbG4jWx0WdetmNnpa+z6YLTYnMvX2lpe/nKQ+9c4O R6HT15EaKJre5d8sDk7JQsj7ZlTJsOOg/e+kxuAiqFzwzWPeUBxjTatkaBgpHT4Y VqunHAyptyd9wKUgWt4tawkOFSutok1UuZWSRI76FG4IwXcfobMKTIEueOqH1uLc bm8VxurxKRUiaTOntX+ImNe4rzoYrd37daN8Nluis/0rnUtbuqS6Ufcj/w+xuwSA USuFB2XedE6G3Ag1j3X/Wk7UKAcvlYz4CsOhQU7kY/hZkMErd2Wc8Z8xq30Cp0YA hFN7yrnaBJrhXRPGaQ8n9zFP33BmyGwIpgWZjFoE3tWD8hbHevakvNdYA2tteMKt K8jaQTDyVR2W3cPyvrPlAAZVpidvH5gG9lQ1fcAKNb5O67kSNuRpqKMWChzgP0Om h2fmiFmEQqVika90xipgmMjltmCCDto3eVAVAe5rAGl7GZ0WpjuoXoxVqe823GLH INwFJBXaG2M6zISDpjnSJ4mrHt8fi0hnZbZYgU8cpGoToKBCMEK+8xPQo/QZL9OK iZYxTxFk3f4scS+wSpU4zKWjC6nQSx6A7Fx/hSH6QAD3ZSwlrjoXK1SsUSIJnIVf gpwxZBU5pqTrxl7zqeeW =m7nR -----END PGP SIGNATURE----- --FN+gV9K+162wdwwF--