[pkg-fso-commits] [SCM] Automatic Display Manager branch, master, updated. nodm/0.3-2-12-gd18f5eb

Enrico Zini enrico at enricozini.org
Mon Jul 6 18:53:27 UTC 2009


The following commit has been merged in the master branch:
commit 1f3d73507c8071cf27b11147ab83753155f95386
Author: Enrico Zini <enrico at enricozini.org>
Date:   Mon Jul 6 19:51:57 2009 +0100

    Stricter permissions on ~/.xsession-errors

diff --git a/nodm.c b/nodm.c
index b015c36..c0bc111 100644
--- a/nodm.c
+++ b/nodm.c
@@ -216,7 +216,7 @@ int cleanup_xse(off_t maxsize, const char* curdirname)
 	int xse_fd = -1;
 	struct stat xse_st;
 
-	xse_fd = open(".xsession-errors", O_WRONLY | O_CREAT, 0666);
+	xse_fd = open(".xsession-errors", O_WRONLY | O_CREAT, 0600);
 	if (xse_fd < 0)
 	{
 		perror ("open ~/.xsession-errors");

-- 
Automatic Display Manager



More information about the pkg-fso-commits mailing list