Re: read only /var/spool/mail/(user)

1999-11-03 Thread Rejo Zenger

++ 27/10/99 15:08 +0100 - [EMAIL PROTECTED]:
drwxrwsr-x   2 root mail 1024 Oct 23 12:16 mail
-rw-rw   1 paul mail   422603 Oct 23 12:16 /var/spool/mail/paul
-^^--

Eeeuh... i'm not sure, but those persissions don't look that good at
all. Now any user in the group mail could read and write to this
mailbox and i guess only user paul is supposed do so.

My permissions:

  rejo:~$ la /var/spool/mail/rejo
  -rw---   1 rejo users   0 Oct 29 19:31 /var/spool/mail/rejo


Hope this helps, -Rejo.

-- 
= Rejo Zenger  [Sister Ray Crisiscentrum]   [EMAIL PROTECTED]
= http://mediaport.org/~sister  PGP: see headers




Re: read only /var/spool/mail/(user)

1999-10-28 Thread paul

On Thu, Oct 28, 1999 at 12:38:06AM +, [EMAIL PROTECTED] wrote:
 Perhaps the new version of Mutt does not have read_only unset?
 This might need to go into your .muttrc: unset read_only
 
 TomG

Doesn`t make any difference I`m afraid, looks like I`m going to have to change 
/usr/bin/mutt to group mail and setgid. Anyone know if there are any problems with 
doing this?

Thanks again everybody.
Paul



-- 
Paul Walton * Powered by * 
Cambridge* Debian GNU Linux *   
U.K.   * http://www.debian.org *



Re: read only /var/spool/mail/(user)

1999-10-27 Thread Mikko Hänninen

Paul [EMAIL PROTECTED] wrote on Wed, 27 Oct 1999:
 Now however not only can I still not view Japanese characters but also
 my mailbox - var/spool/mail/paul has become read only so I cannot delete
 or move read messages.

 Please can anybody point me in the right direction?

It's probably a permission problem.  What are the permissions on
/var/spool/mail and the mailbox file in there?

Also, I don't remember in which version but some time ago I think Mutt
switched to the suid dotlock program, thus avoiding the need to have
the actual Mutt binary to be suid root.  Maybe this is the problem
here..?

In any case, I think it very likely that for some reason your Japanese-
enabled Mutt doesn't have the permission to modify your mailbox file,
for whatever reason.  Either it needs to be suid root (or sugroup mail),
or the dotlock helper app is not longer suid root, or something like
that.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
All those who believe in psychokinesis raise my hand.



Re: read only /var/spool/mail/(user)

1999-10-27 Thread paul

Thanks for the help Mikko.Permissions were as follows;

drwxrwsr-x   2 root mail 1024 Oct 23 12:16 mail
-rw-rw   1 paul mail   422603 Oct 23 12:16 /var/spool/mail/paul

All I had to do was add myself to the group"mail" and it seems to work fine.
DOH!
(Now to try and get it to read Japanese)
Paul

-- 
Paul Walton * Powered by * 
Cambridge* Debian GNU Linux *   
U.K.   * http://www.debian.org *



Re: read only /var/spool/mail/(user)

1999-01-02 Thread Mikko Hänninen

Rejo Zenger [EMAIL PROTECTED] wrote on Thu, 04 Nov 1999:
 -rw-rw   1 paul mail   422603 Oct 23 12:16 /var/spool/mail/paul
 -^^--
 
 Eeeuh... i'm not sure, but those persissions don't look that good at
 all. Now any user in the group mail could read and write to this
 mailbox and i guess only user paul is supposed do so.

That's a normal setup.  mail is not a user group.  Any users should
not belong to that group normally, only setgid programs which then get
access to read/write files in the mail spool dir.  Of course, YMMV, but
there's nothing unusual about those permissions themselves.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Many people quit looking for work when they find a job.