Changeset 3161 in MondoRescue for branches/3.1/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Jun 25, 2013, 10:53:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mondo/src/mondorestore/mondorestore.c
r3147 r3161 1230 1230 1231 1231 if (strcmp(outfile_fname, "/dev/null")) { 1232 chown(outfile_fname, biggiestruct.properties.st_uid, biggiestruct.properties.st_gid); 1232 if (chown(outfile_fname, biggiestruct.properties.st_uid, biggiestruct.properties.st_gid)) { 1233 // FIXME 1234 } 1233 1235 chmod(outfile_fname, biggiestruct.properties.st_mode); 1234 1236 ubuf->actime = biggiestruct.properties.st_atime; … … 1475 1477 if (strcmp(outfile_fname, "/dev/null")) { 1476 1478 chmod(outfile_fname, biggiestruct.properties.st_mode); 1477 chown(outfile_fname, biggiestruct.properties.st_uid, biggiestruct.properties.st_gid); 1479 if (chown(outfile_fname, biggiestruct.properties.st_uid, biggiestruct.properties.st_gid)) { 1480 // FIXME 1481 } 1478 1482 ubuf->actime = biggiestruct.properties.st_atime; 1479 1483 ubuf->modtime = biggiestruct.properties.st_mtime;
Note:
See TracChangeset
for help on using the changeset viewer.