Permission Problem

Nils Kassube kassube at gmx.net
Tue Aug 12 08:48:21 UTC 2014


Bill vance wrote:
> On 8/11/14, Nils Kassube <kassube at gmx.net> wrote:
> > Here are the perms of the /var/mail directory on any of the machines
> > I have checked including the 12.04 liveCD:
> > 
> > drwxrwsr-x  2 root mail     4096 Mar  1  2013 mail/
> > 
> > To get the same permissions you should run these commands:
> > 
> > sudo chown root:mail /var/spool/mail
> > sudo chmod 2775 /var/spool/mail
> > 
> > And the individual user files have these permissions on my machine:
> > 
> > -rw------- 1 nils mail 495 Aug 11 20:54 nils
> > -rw------- 1 root mail   0 Apr  3  2011 root

> I tried the two above commands you sent, but I'm not going to worry
> about the groups just yet, as that should just make getting it to
> work a little easier.
> in fact, the users can now manipulate their own files again, (as well
> as each others), but removing the group rw removes the users ability
> to deal with their own stuff.  As I'm the only real user, and the,
> "users", are all aliases I've subbed to various mail lists, to keep
> the list mail segregated as to which list it came from, no biggy.

Then your requirements are totally different from a standard mail setup 
where users can only read / change their own files. Maybe a simple 
change would be to add all those users to the mail group?

> Unfortunately, alpine and mutt still can't find/open up the filesl

Sorry, I think I can't help you there - I don't use those applications. 
But how about the program "mail"? Can that one use the files?


Nils





More information about the kubuntu-users mailing list