Changeset 2563


Ignore:
Timestamp:
Feb 1, 2010, 12:47:07 PM (9 years ago)
Author:
bruno
Message:
  • setfattr also needs the -h flag to restore attributes on symlinks, not on the target file (which may not exist BTW). Should solve #388.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-filelist.c

    r2556 r2563  
    543543        || !does_file_exist(orig_msklist)) {
    544544        log_msg(1, "No masklist provided. I shall therefore set ALL attributes.");
    545         mr_asprintf(&command, "gzip -dc %s | (cd " MNT_RESTORING " ; %s --restore -) 2>> %s", original_exat_fname, executable, MONDO_LOGFILE);
     545        mr_asprintf(&command, "gzip -dc %s | %s -h --restore - 2>> %s", original_exat_fname, executable, MONDO_LOGFILE);
    546546        log_msg(1, "command = %s", command);
    547547        retval = system(command);
Note: See TracChangeset for help on using the changeset viewer.