<div dir="ltr">I've had similar problems in the past.  In my case, it was because pacemaker was running as user 'hacluster' in group 'haclient', so it didn't have permission to access the root owned file.   So to fix the problem, I changed the ownership of the file that was causing the permissions error.  e.g `chown hacluster:haclient <file>`<div>Thanks,</div><div>Ryan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 10, 2018 at 11:52 AM, Ulrich Windl <span dir="ltr"><<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de" target="_blank">Ulrich.Windl@rz.uni-regensburg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
A simple question: One of my RAs uses $HA_RSCTMP in SLES11 SP4, and it reports the following problem:<br>
 WARNING: Unwritable HA_RSCTMP directory /var/run/resource-agents - using /tmp<br>
<br>
However the directory has the following permissions:<br>
drwxr-xr-t 2 root root 4096 Aug 10 18:05 /var/run/resource-agents<br>
<br>
My code to check this is:<br>
if [ ! -w "$HA_RSCTMP" -a "$(id -u)" -ne 0 ]; then<br>
    ocf_log warn "Unwritable HA_RSCTMP directory $HA_RSCTMP - using /tmp"<br>
    HA_RSCTMP=/tmp<br>
fi<br>
<br>
Did I overlook something obvious? Could it be that the directory is created after the error message? I suspect that the error is triggered during a parameter validation after the cluster node had been rebooted...<br>
<br>
Regards,<br>
Ulrich<br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div>