Package: checkgmail
Version: 1.12-1
Severity: minor

This bug was initially reported in Ubuntu (see
https://bugs.launchpad.net/ubuntu/+source/checkgmail/+bug/164187 ) but
your version seems affected too. 

Attached patch should fix this bug report.
        
Thank you.
--- /usr/bin/checkgmail	2007-06-19 10:18:55.000000000 +0200
+++ checkgmail	2007-11-20 21:53:40.000000000 +0100
@@ -376,11 +376,11 @@
 	if (-e "$prefs_dir") {
 		print "Moving ~/.checkgmail to ~/.checkgmail/prefs ...\n\n";
 		rename("$HOME/.checkgmail", "$HOME/.checkgmailbak");
-		mkdir($prefs_dir, 0777);
+		mkdir($prefs_dir, 0700);
 		rename("$HOME/.checkgmailbak", "$prefs_dir/prefs");
 	} else {
 		# User hasn't run an old version, just create the dir
-		mkdir($prefs_dir, 0777);
+		mkdir($prefs_dir, 0700);
 	}
 }
 

Reply via email to