rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] permissions question on status files rdiff-backup c


From: mike
Subject: [rdiff-backup-users] permissions question on status files rdiff-backup creates
Date: Tue, 28 Nov 2006 11:42:28 -0500 (EST)
User-agent: SquirrelMail/1.4.8

Hello,

  I'm running Debian Stable, rdiff-backup 0.13.4.

  All the statistic files (i.e.
session_statistics.2006-11-28T11:12:26-05:00.data) rdiff-backup makes
are rw------ root.root.  Is this behavior from rdiff-backup or my
script?  I run rdiff-backup via a script that is executed by cron.  I
have umask set to 022 in my script.  I thought that would force file
creation by rdiff-backup as rw-r--r-- but that didn't work.

  The reason is I'm trying to have a web script read the session_stats
file so I can display it in a web page and the file needs to be
readable.

  I run rdiff-backup like this:
 /usr/bin/rdiff-backup --force --no-compression-regexp --parsable-output
--print-statistics /home/data /backup

  Why does rdiff-backup make the files rw user only?  Is it just my version?

  I realize I could just put "chmod 644 session_stat*" in my script but
I'd like to learn why, is it the behavior of rdiff-backup or my script?

  Thanks!

-Mike





reply via email to

[Prev in Thread] Current Thread [Next in Thread]