On Tue, Jun 04, 2013 at 07:15:11PM +0200, andreas graeper wrote:
> hi,
> i tried, before starting dovecot+exim+fetchmail
> 
> to create a symlink
> /var/mail -> /mnt/mirror/var/mail
> with ra ocf:heartbeat:symlink
> 
> i changed target :
>   chmod 0775
>   chown root.mail
> 
> but i need write permission to /var/mail
> cause exim wants to create a lock file
> 
> i tried to manually
>  chown -h root.mail /var/mail
> and link is now 777 root.mail

Ownership and permissions of the link do not matter at all.
For the mount point the same.

Ownership and permissions of the directory matters.

once mounted, do "chown / chmod" on "/mnt/mirror/var/mail/."

Also make sure the uid/gid is the same on all nodes.

> but old problem euid=5xx egid=8 (mail) can not create lock file
> /var/mail/.lock
> 
> please help.
> andreas


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to