Thread View: gnu.epoch.misc
2 messages
2 total messages
Started by Guan-Hsing Hsu
Tue, 24 Aug 1993 18:48
RMAIL on Epoch not working: Solved but still mystified
Author: Guan-Hsing Hsu
Date: Tue, 24 Aug 1993 18:48
Date: Tue, 24 Aug 1993 18:48
36 lines
2172 bytes
2172 bytes
Some time ago, I posted a question about a problem with rmail for epoch 4.2 installation on a HP720 running HP-UX 9.01. Thanks to Gary Beckmann (gary@poseidon.dfci.harvard.edu) whose example leads to a work around of the problem. But neither of us can figure out a real solution. So I would like to report this and see if we can understand the problem better. The problem was whenever I use rmail, it gives me the following error message movemail : Permission denied for lock file--see source file movemail.c while root can use rmail without any problem. Sounds like the standard problem. After following the comment in etc/movemail.c, I allow movemail to be setuid and setgid, -rwsr-sr-x 1 root mail 20480 Aug 4 17:03 movemail It still doesn't work. Meanwhile, rmail on our emacs 18.59 works. Copying that binary to epoch/etc/movemal still gives the same error message. But following Gary's example, making /usr/mail writable by the world drwxrwxrwx 2 bin mail 1024 Aug 24 14:51 /usr/mail fixes the problem. This is really just a work around. We still don't know how to fix it correctly. So I call upon NetWidsom to help solve the mystery. Any thought? -- Guan-Hsong Hsu Email: ghsu@unstable.nswc.navy.mil Nonlinear Dynamics Group (301)394-5289, 394-5290 Mathematics and Computations Branch (R44) NSWC DD/WO, Silver Spring, MD 20903-5640
Re: RMAIL on Epoch not working: Solved but still mystified
Author: Bruno Melli
Date: Tue, 24 Aug 1993 22:36
Date: Tue, 24 Aug 1993 22:36
34 lines
1788 bytes
1788 bytes
Guan-Hsing Hsu (ghsu@unstable.nswc.navy.mil) wrote: : while root can use rmail without any problem. Sounds like the : standard problem. After following the comment in etc/movemail.c, I : allow movemail to be setuid and setgid, : -rwsr-sr-x 1 root mail 20480 Aug 4 17:03 movemail For reference, the movemail I use on my system has the following perms. (sgid, not setuid. Also it is owned by bin, not root which makes sense since /usr/mail is owned by bin) -rwxr-sr-x 1 bin mail Also, you need to set your exec-directory to point to where movemail is. Somewhere in your .emacs (setq exec-directory "/usr/local/emacs/etc/") (or wherever movemail is on your system) It wouldn't hurt to check that the path to movemail has read/exec perm for bin... You might want to check what movemail is being executed. It might not be the one you think... ESC-ESC exec-directory should show you what path is used. Hope this helps bruno.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads