diff --git a/xorriso/write_run.c b/xorriso/write_run.c index 17e939a8..52a5e73b 100644 --- a/xorriso/write_run.c +++ b/xorriso/write_run.c @@ -767,7 +767,10 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag) {ret= 0; goto ex;} isoburn_igopt_set_sort_files(sopts, 1); isoburn_igopt_set_over_mode(sopts, 0, 0, (mode_t) 0, (mode_t) 0); - isoburn_igopt_set_over_ugid(sopts, 0, 0, (uid_t) 0, (gid_t) 0); + isoburn_igopt_set_over_ugid(sopts, 2 * !!xorriso->do_global_uid, + 2 * !!xorriso->do_global_gid, + (uid_t) xorriso->global_uid, + (gid_t) xorriso->global_gid); isoburn_igopt_set_out_charset(sopts, out_cs); isoburn_igopt_set_fifo_size(sopts, xorriso->fs * 2048); Ftimetxt(time(NULL), xorriso->scdbackup_tag_time, 8); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 32525f7a..21a2dd22 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.04.03.094634" +#define Xorriso_timestamP "2011.04.04.064909"