summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-04-01 20:42:28 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-04-01 20:42:28 +0000
commitf2a1b2b502bd794876b2fc3efbb61e4e2346c5b5 (patch)
treed275342c0f1df7c0cb0aa1969c0405d5c9b24aa3
parentce9c24ceaa7196752fc2b8fd12c3edf3f5d5072b (diff)
downloaddraksnapshot-f2a1b2b502bd794876b2fc3efbb61e4e2346c5b5.tar
draksnapshot-f2a1b2b502bd794876b2fc3efbb61e4e2346c5b5.tar.gz
draksnapshot-f2a1b2b502bd794876b2fc3efbb61e4e2346c5b5.tar.bz2
draksnapshot-f2a1b2b502bd794876b2fc3efbb61e4e2346c5b5.tar.xz
draksnapshot-f2a1b2b502bd794876b2fc3efbb61e4e2346c5b5.zip
(generate_cron_entry) set 755 perms on cron entry (#39699)
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@241705 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-config2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5171d23..6b355ac 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- configurator:
+ o set 755 perms on cron entry (#39699)
+
Version 0.6 - 28 March 2008, Thierry Vignaud
- applet:
diff --git a/draksnapshot-config b/draksnapshot-config
index 5c4bd2a..5362a36 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -288,7 +288,7 @@ sub generate_cron_entry() {
my $cron_file = "$::prefix/etc/cron.d/rsnapshot";
- output($cron_file,
+ output_with_perm($cron_file, 0755,
qq(# WARNING: This file is autogenerated from /etc/rsnapshot.conf.
# WARNING: Please alter /etc/rsnapshot.conf instead of $cron_file
#