Gnus development mailing list
 help / color / mirror / Atom feed
* movemail failing .. apparently permission issue
@ 2014-12-20  0:36 Harry Putnam
  2014-12-20  8:55 ` Andreas Schwab
  2014-12-21 21:05 ` Harry Putnam
  0 siblings, 2 replies; 4+ messages in thread
From: Harry Putnam @ 2014-12-20  0:36 UTC (permalink / raw)
  To: ding

Setup:
  Very new install of Gentoo linux
  GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.12.2)
    of 2014-12-19 on gv
  (Installed thru gentoo manager (emerge/portage) emacs-vcs)
  (Gets installed from bzr repo)

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)
`----

/var/spool/mail is set mail:root and octal 755

drwxr-xr-x 2 mail  root  4096 Dec 19 13:30 mail

Actual mail file: /var/spool/mail/harry
-rw------- 1 harry nfsu 676 Dec 19 13:30 harry

My spool area in ~ is Myuser:Mygroup octal 755

`movemail' is set root:root octal 755

ls -l /usr/libexec/emacs/25.0.50/i686-pc-linux-gnu/
  -rwxr-xr-x 1 root root 22016 Dec 19 16:19 movemail

Anyone here understand what is happening?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: movemail failing .. apparently permission issue
  2014-12-20  0:36 movemail failing .. apparently permission issue Harry Putnam
@ 2014-12-20  8:55 ` Andreas Schwab
  2014-12-20 12:59   ` Harry Putnam
  2014-12-21 21:05 ` Harry Putnam
  1 sibling, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2014-12-20  8:55 UTC (permalink / raw)
  To: Harry Putnam; +Cc: ding

Harry Putnam <reader@newsguy.com> writes:

> -rw------- 1 harry nfsu 676 Dec 19 13:30 harry
               ^^^^^^^^^^
>
> My spool area in ~ is Myuser:Mygroup octal 755
                        ^^^^^^^^^^^^^^

What is your login id and group?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: movemail failing .. apparently permission issue
  2014-12-20  8:55 ` Andreas Schwab
@ 2014-12-20 12:59   ` Harry Putnam
  0 siblings, 0 replies; 4+ messages in thread
From: Harry Putnam @ 2014-12-20 12:59 UTC (permalink / raw)
  To: ding

Andreas Schwab <schwab@linux-m68k.org> writes:

> Harry Putnam <reader@newsguy.com> writes:
>
>> -rw------- 1 harry nfsu 676 Dec 19 13:30 harry
>                ^^^^^^^^^^
>>
>> My spool area in ~ is Myuser:Mygroup octal 755
>                         ^^^^^^^^^^^^^^
>
> What is your login id and group?

harry:nfsu

ls -ld ~/spool

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







^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: movemail failing .. apparently permission issue
  2014-12-20  0:36 movemail failing .. apparently permission issue Harry Putnam
  2014-12-20  8:55 ` Andreas Schwab
@ 2014-12-21 21:05 ` Harry Putnam
  1 sibling, 0 replies; 4+ messages in thread
From: Harry Putnam @ 2014-12-21 21:05 UTC (permalink / raw)
  To: ding

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-21 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-20  0:36 movemail failing .. apparently permission issue Harry Putnam
2014-12-20  8:55 ` Andreas Schwab
2014-12-20 12:59   ` Harry Putnam
2014-12-21 21:05 ` Harry Putnam

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).