aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds.c b/src/mds.c
index b6f6abb..cb39005 100644
--- a/src/mds.c
+++ b/src/mds.c
@@ -128,7 +128,7 @@ int main(int argc_, char** argv_)
{
xsnprintf(pathname, "%s/%u.pid", MDS_RUNTIME_ROOT_DIRECTORY, display);
- fd = open(pathname, O_CREAT | O_EXCL);
+ fd = open(pathname, O_CREAT | O_EXCL, 0644);
if (fd == -1)
{
/* Reuse display index if no longer used. */