Nate Carlson
2014-01-20 21:14:53 UTC
Curious - what permissions should files under cpool be created with? I'm
doing a test of 4.0.0alpha3 (and loving it so far!), but noticed that
files and directories were getting weird permissions. I noticed that
'UmaskMode' was set to an odd value, so I reset it to:
$Conf{UmaskMode} = 027;
..and restarted BackupPC. Now directories appear to be created with sane
permissions (750), but files are being created with 444 perms.. IE:
-r--r--r-- 1 backuppc backuppc 3.5K Jan 20 15:06 84ceed67768afbc461579bb153693093
Would love to hear if this is normal (and if it is normal what the
reasoning is); if not I can dig into it a bit.
Thanks!
-Nate
doing a test of 4.0.0alpha3 (and loving it so far!), but noticed that
files and directories were getting weird permissions. I noticed that
'UmaskMode' was set to an odd value, so I reset it to:
$Conf{UmaskMode} = 027;
..and restarted BackupPC. Now directories appear to be created with sane
permissions (750), but files are being created with 444 perms.. IE:
-r--r--r-- 1 backuppc backuppc 3.5K Jan 20 15:06 84ceed67768afbc461579bb153693093
Would love to hear if this is normal (and if it is normal what the
reasoning is); if not I can dig into it a bit.
Thanks!
-Nate