Changeset 2725

Show
Ignore:
Timestamp:
07/07/08 01:58:22 (5 months ago)
Author:
dhozac
Message:

Unify_copy doesn't touch sockets, so there's nothing to change the tag of.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vclone.c

    r2646 r2725  
    181181        if (!Unify_copy(basename->d, st, dst_path.d)) 
    182182          PERROR_Q(ENSC_WRAPPERS_PREFIX "Unify_copy", dst_path.d); 
    183         else if (global_args->xid != VC_NOCTX && 
     183        else if (!S_ISSOCK(st->st_mode) && 
     184                 global_args->xid != VC_NOCTX && 
    184185                 vc_set_iattr(dst_path.d, global_args->xid, 0, VC_IATTR_XID) == -1 && 
    185186                 errno != EINVAL)