public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: The eternal uid issue
Date: Fri, 25 Jul 2014 12:42:00 -0000	[thread overview]
Message-ID: <20140725124200.GC8725@calimero.vinschen.de> (raw)
In-Reply-To: <53D17DCD.726524E0@boland.nl>

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

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.
> 
> 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.
> 
> 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 <your home dir>

And send the output of stat, as well as the two generated trace files
here.  This might give us a clue.


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2014-07-25 12:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23  8:01 D. Boland
2014-07-23  8:19 ` Linda Walsh
2014-07-23  8:34   ` D. Boland
2014-07-26  2:07     ` The deprecated uid issue: use caps Linda Walsh
2014-07-26 13:29       ` D. Boland
2014-07-23  9:14 ` The eternal uid issue Corinna Vinschen
2014-07-23 11:31   ` D. Boland
2014-07-23 15:13     ` Larry Hall (Cygwin)
2014-07-23 15:24     ` Corinna Vinschen
2014-07-24  6:48       ` D. Boland
2014-07-24 13:52         ` Corinna Vinschen
2014-07-24 21:38           ` D. Boland
2014-07-24 22:18             ` Jeffrey Altman
2014-07-25 12:42             ` Corinna Vinschen [this message]
2014-07-25 12:47               ` Corinna Vinschen
2014-07-25 14:01                 ` D. Boland
2014-07-28  8:03               ` D. Boland
2014-07-28  9:14                 ` Corinna Vinschen
2014-07-28 11:38                   ` D. Boland
2014-07-28 11:53                     ` Corinna Vinschen
2014-07-28 12:04                       ` Corinna Vinschen
2014-07-29 14:02                       ` D. Boland
2014-07-30 13:10                         ` Corinna Vinschen
2014-07-31 12:48                           ` D. Boland
2014-07-23 16:20     ` Andrey Repin
2014-07-23 16:27       ` Christopher Faylor
2014-07-24  9:30         ` D. Boland
2014-07-24 13:20           ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140725124200.GC8725@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).