Changeset 949 in MondoRescue for branches/stable/mondo/src/mondorestore
- Timestamp:
- Nov 19, 2006, 2:11:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r913 r949 161 161 extern int g_partition_table_locked_up; 162 162 163 /* Should we use or not extended attributes and acl when restoring */ 164 char *g_getfattr = NULL; 165 char *g_getfacl = NULL; 166 163 167 /** 164 168 * @addtogroup restoreUtilityGroup … … 1099 1103 bkpinfo->use_star = TRUE; 1100 1104 log_msg(1, "Goody! ... bkpinfo->use_star is now true."); 1105 } 1106 1107 read_cfg_var(cfg_file, "acl", value); 1108 if (strstr(value, "TRUE")) { 1109 asprintf(&g_getfacl,"setfacl"); 1110 log_msg(1, "We will restore ACLs"); 1111 if (! find_home_of_exe(setfacl)) { 1112 log_msg(1, "Unable to restore ACLs as no setfacl found"); 1113 } 1114 } 1115 read_cfg_var(cfg_file, "xattr", value); 1116 if (strstr(value, "TRUE")) { 1117 asprintf(&g_getfattr,"setfattr"); 1118 log_msg(1, "We will restore XATTRs"); 1119 if (! find_home_of_exe(setfattr)) { 1120 log_msg(1, "Unable to restore XATTRs as no setfattr found"); 1121 } 1101 1122 } 1102 1123
Note:
See TracChangeset
for help on using the changeset viewer.