[Pacemaker] owership of created symlink
Lars Ellenberg
lars.ellenberg at linbit.com
Tue Jun 4 18:51:37 UTC 2013
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.
More information about the Pacemaker
mailing list