[Pkg-privacy-commits] [irssi-plugin-otr] 37/267: create ~/.irssi/otr with mode 700.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.

commit d13b0c94fcc54770e0320c42a81f425b9c06a503
Author: Uli Meis <a.sporto+bee at gmail.com>
Date:   Tue Jan 20 01:01:25 2009 +0100

    create ~/.irssi/otr with mode 700.
---
 otr_key.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/otr_key.c b/otr_key.c
index 374bee5..9e32158 100644
--- a/otr_key.c
+++ b/otr_key.c
@@ -149,7 +149,7 @@ void keygen_run(const char *accname)
 	}
 
 	if (!g_file_test(dir, G_FILE_TEST_EXISTS)) {
-		if (g_mkdir(dir,S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)) {
+		if (g_mkdir(dir,S_IRWXU)) {
 			otr_noticest(TXT_KG_ABORTED_DIR,
 				     accname,dir,strerror(errno));
 			g_free(dir);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git



More information about the Pkg-privacy-commits mailing list