Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: ding@gnus.org
Subject: Re: movemail failing .. apparently permission issue
Date: Sun, 21 Dec 2014 16:05:20 -0500	[thread overview]
Message-ID: <874msovhm7.fsf@reader.local.lan> (raw)
In-Reply-To: <87bnmzduoa.fsf@reader.local.lan>

Harry Putnam <reader@newsguy.com> writes:

Attempting to give a little clearer picture of my situation. Some of
this repeats an earlier post but hopefully a bit more clear.

 Setup:
   Very new install of Gentoo linux

GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, X toolkit,
   Xaw3d scroll bars) of 2014-12-20 on gv
   (Built from git sources)

   (Installed thru gentoo manager (emerge/portage) emacs-vcs)

 When starting gnus:
 I get a failure of movemail being unable to access some part of the
 setup.  Apparently either /var/spool/mail or ~/spool
 
(from *Messages* buffer)
,----
| Reading incoming mail from directory...
| Processing mail from ~/.emacs-mail-crash-box...
| Reading incoming mail from file...
| movemail: Permission denied for /var/spool/mail/harry (1 return).  Continue? (y or n) n
| Mail source (file :path /var/spool/mail/harry) error (Permission
| denied for /var/spool/mail/harry).  Continue? (y or n) n
| Mail source (file :path /var/spool/mail/harry) failed: (error Cannot get new mail)
`----

Apparently above is not considered an error since setting
debug-on-error does not produce a backtrace.

ls -ld /var/spool/mail
  drwxr-xr-x 2 mail root 4096 Dec 19 13:30 /var/spool/mail

ls -l /var/spool/mail/
  total 4
  -rw------- 1 harry nfsu 716 Dec 19 13:30 harry

ls -ld /home/harry/spool
 drwxr-xr-x 2 harry nfsu 4096 Dec 17 18:56 /home/harry/spool

ls -l /usr/libexec/emacs/25.0.50/i686-pc-linux-gnu/        
total 80
-rwxr-xr-x 1 root root  9552 Dec 20 21:13 hexl
-rwxr-xr-x 1 root root 22016 Dec 20 21:13 movemail
-rwxr-xr-x 1 root root  5412 Dec 20 21:13 profile
-rwxr-xr-x 1 root root 21067 Dec 20 21:13 rcs2log
-rwxr-xr-x 1 root root  9636 Dec 20 21:13 update-game-score

What need to change here:

I did try setting movemail like:

  mail:root instead of root:root

Tried setting /var/spool/mail setuid root and setgid with no change in
gnus output about movemail.




      parent reply	other threads:[~2014-12-21 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-20  0:36 Harry Putnam
2014-12-20  8:55 ` Andreas Schwab
2014-12-20 12:59   ` Harry Putnam
2014-12-21 21:05 ` Harry Putnam [this message]

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=874msovhm7.fsf@reader.local.lan \
    --to=reader@newsguy.com \
    --cc=ding@gnus.org \
    /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 NNTP newsgroup(s).