Changeset 912 in MondoRescue for branches/stable/mondo/src/mondorestore


Ignore:
Timestamp:
Nov 2, 2006, 1:22:57 AM (17 years ago)
Author:
Bruno Cornec
Message:

Attempt to fix #66 (setfacl not existing => no error)

Location:
branches/stable/mondo/src/mondorestore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-restore.c

    r911 r912  
    24562456        sprintf(acl_fname, ACL_BIGGLST_FNAME_RAW_SZ, ARCHIVES_PATH);
    24572457        sprintf(xattr_fname, XATTR_BIGGLST_FNAME_RAW_SZ, ARCHIVES_PATH);
    2458         if (length_of_file(acl_fname) > 0 && find_home_of_exe("setfacl")) {
     2458        if (length_of_file(acl_fname) > 0) {
    24592459            set_acl_list(biggies_whose_EXATs_we_should_set, acl_fname);
    24602460        }
    2461         if (length_of_file(xattr_fname) > 0
    2462             && find_home_of_exe("setfattr")) {
     2461        if (length_of_file(xattr_fname) > 0) {
    24632462            set_fattr_list(biggies_whose_EXATs_we_should_set, xattr_fname);
    24642463        }
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools-EXT.h

    r128 r912  
    1010extern int modify_rclocal_one_time(char *path);
    1111extern int mount_cdrom(struct s_bkpinfo *bkpinfo);
    12 extern int mount_device(char *, char *, char *, bool);
    1312extern int mount_all_devices(struct mountlist_itself *, bool);
    1413extern void protect_against_braindead_sysadmins(void);
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.h

    r425 r912  
    1010int modify_rclocal_one_time(char *path);
    1111int mount_cdrom(struct s_bkpinfo *bkpinfo);
    12 int mount_device(char *, char *, char *, bool);
    1312int mount_all_devices(struct mountlist_itself *, bool);
    1413void protect_against_braindead_sysadmins(void);
Note: See TracChangeset for help on using the changeset viewer.