Mageia Bugzilla – Attachment 10721 Details for
Bug 24010
backuppc fails to start
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
file access_perms.patch (patch file for rsync-bpc-3.0.9.8)
access_perms.patch (text/plain), 573 bytes, created by
Juergen Harms
on 2019-02-02 22:20:31 CET
(
hide
)
Description:
file access_perms.patch (patch file for rsync-bpc-3.0.9.8)
Filename:
MIME Type:
Creator:
Juergen Harms
Created:
2019-02-02 22:20:31 CET
Size:
573 bytes
patch
obsolete
> diff -up ./backuppc/bpc_dirOps.c ./backuppc/bpc_dirOps_new.c >--- ./backuppc/bpc_dirOps.c 2019-02-02 11:32:25.444446271 +0100 >+++ ./backuppc/bpc_dirOps_new.c 2019-02-02 11:44:29.462530684 +0100 >@@ -58,7 +58,7 @@ int bpc_path_create(char *path) > while ( levels-- > 0 ) { > p = path + strlen(path); > *p = '/'; >- if ( mkdir(path, ACCESSPERMS) < 0 && errno != EEXIST) { >+ if ( mkdir(path, 0770) < 0 && errno != EEXIST) { > bpc_logErrf("bpc_path_create: can't create %s (errno %d)\n", path, errno); > return -1; > }
diff -up ./backuppc/bpc_dirOps.c ./backuppc/bpc_dirOps_new.c --- ./backuppc/bpc_dirOps.c 2019-02-02 11:32:25.444446271 +0100 +++ ./backuppc/bpc_dirOps_new.c 2019-02-02 11:44:29.462530684 +0100 @@ -58,7 +58,7 @@ int bpc_path_create(char *path) while ( levels-- > 0 ) { p = path + strlen(path); *p = '/'; - if ( mkdir(path, ACCESSPERMS) < 0 && errno != EEXIST) { + if ( mkdir(path, 0770) < 0 && errno != EEXIST) { bpc_logErrf("bpc_path_create: can't create %s (errno %d)\n", path, errno); return -1; }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24010
: 10721