- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/mail/username gets wrong group and permission...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2001 11:42 AM
тАО04-19-2001 11:42 AM
/var/mail/username gets wrong group and permissions (sh, elm)
getting its group and permissions mangled by elm. When
the user exits from elm after having made a change to the
mailbox, the group on the mailbox changes from the
required "mail" to the user's primary group, and the
permissions change from the required 660 to 600. This
prevents sendmail from delivering any more mail to the
mailbox.
The user's umask is 022. Elm is setgid to mail, and it
works fine for all other users. The only thing about the
user that's different from everyone else is that he uses
/usr/bin/sh as his shell instead of tcsh. The permissions
on both tcsh and sh are 555.
For some reason, unsetting the MAIL env variable seems
to suppress the problem, but login sets MAIL automatically,
so I don't think that's a viable solution. Besides, I don't
see why MAIL should affect elm.
Anybody have any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2001 07:42 AM
тАО04-20-2001 07:42 AM
Re: /var/mail/username gets wrong group and permissions (sh, elm)
can you let us know what version of HPUX and elm version (elm -v) you have. You are correct elm should not be affected by the MAIL environment variable, so says the EXTERNAL INFLUENCES section in the man page for elm on HPUX 11. However I found:
ELM 2.4 supports the use of MAIL environment variable and is available by loading the following patches. PHNE_8144
I run elm as a user with the posix shell and I do not have this problem. Please check also:
drwxrwxrwt 2 bin mail 1024 Apr 20 16:23 /var/mail
Need to verify version etc. though. My elm binary also has following permissions:
-r-xr-sr-x 1 bin mail 479232 Oct 27 1997 /bin/elm
same as yours I think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2001 08:28 AM
тАО04-20-2001 08:28 AM
Re: /var/mail/username gets wrong group and permissions (sh, elm)
and not HP's Elm. Unfortunately, further testing indicates
that HP's Elm (212.4) does not exhibit the problem, while
the Net Elm 2.5 does, so it appears to be a problem with
Elm 2.5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2001 04:51 AM
тАО04-23-2001 04:51 AM
Re: /var/mail/username gets wrong group and permissions (sh, elm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2001 09:01 AM
тАО04-23-2001 09:01 AM
Re: /var/mail/username gets wrong group and permissions (sh, elm)
that comes with HP-UX. You can get it at:
http://www.math.fu-berlin.de/~guckes/elm/