Project

General

Profile

Support #2261

How to automatically create /var/run/wt with right permissions?

Added by Anonymous about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Anonymous
Target version:
Start date:
10/01/2013
Due date:
% Done:

0%

Estimated time:

Description

Hi.

A common problem that emerges when configuring Wt is Apache's fatal error: cannot create run directory /var/run/wt.

From many posts in the forum, we know that to resolve this is enough create the directory and set the right permissions. On Ubuntu 12.10:

$> mkdir /var/run/wt

$> chown www-data: /var/run/wt

That solves our problem... until the next reboot.

Is there an automatic solution for this? I was thinking in putting these command on crontab, but that doesn't seem the right way to do the work.

Thanks in advance.

David.

Also available in: Atom PDF