Re: [EXIM] permissions/ownership

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Julian
Dátum:  
Címzett: exim-users
Tárgy: Re: [EXIM] permissions/ownership
>
> On Fri, 25 Sep 1998, Julian wrote:
>
> >
> > Abbreviated, the new machine appears to require that the aliases files
> > are owned by exim, whereas the old one didn't care so long as it could
> > read them.
> >
> > LOG: 0 MAIN
> > == majordomo@??? D=majordomo_aliases defer (-18): failed to open /usr/majordomo-lists/getting.bored/aliases/aliases for linear search: Permission denied (euid=25 egid=25)
> >
> > If I chown the files to 25:25 it is fine, but I need them to be
> > 125:25
> >
> > Am I being stupid and it is something obvious, or do you need more
> > information?
>
> I assume 25:25 is your Exim group. Exim will be running as 25:25 when it
> tries to read the alias file. If it cannot read a file that is 125:25,
> then there is a problem with the permissions of that file. Is the "read
> by group" bit set?
>


Sorry, I should have said, yes it is set.

ls -l /usr/majordomo-lists/getting.bored/aliases/aliases
-rw-r-----   1 majordom exim        1773 Sep 24 19:57 /usr/majordomo-lists/getting.bored/aliases/aliases


ls -dl /usr/majordomo-lists/getting.bored/aliases       
drwxr-xr-x   2 majordom exim         512 Sep 24 19:57 /usr/majordomo-lists/getting.bored/aliases


ls -dl /usr/majordomo-lists/getting.bored        
drwxr-xr-x   7 majordom majordom     512 Sep 25 13:53 /usr/majordomo-lists/getting.bored


ls -dl /usr/majordomo-lists              
drwxrwxrwx   5 majordom majordom     512 Sep 24 19:57 /usr/majordomo-lists


exim and majordomo can get to everything, although exim can't write
to everything..

Julian


--
*** Exim information can be found at http://www.exim.org/ ***