backuppc / rsync-bpc

Rsync-bpc is a customized version of rsync that is used as part of BackupPC
GNU General Public License v3.0
28 stars 17 forks source link

Directories under cpool are create with world-writable permissions #9

Closed juergen-harms closed 5 years ago

juergen-harms commented 5 years ago

BackupPC-4 creates directories under cpool with world-writable permission (no problem in BackupPC-3).

The creation of these directories has been traced to the backuppc/bpc_dirOps .c procedure of rsync-bpc (the configuration variable $Conf{UmaskMode} does not have any influence on the permission of the created directories).

This issue has relative urgency since the Mageia distro is finalising its new Mageia-7 release and would like to include BackupPC 4.3.0 in this release - see https://bugs.mageia.org/show_bug.cgi?id=24441

Sorry for the typo in the titile: create -> created

juergen-harms commented 5 years ago

Triggered by drafting this post, we realized that Mageia had not packaged the most recent version of rsync-bpc in support of BackupPC. This has now been corrected: with rsync-bpc-3.1.2.0 the problem has gone away, directories created by BackupPC now have the permission they are expected to have.

Apologies for the noise!