Bug fix: Options -gid and -uid had no effect

master
Thomas Schmitt 12 years ago
parent 0280efe997
commit 03d2a82cac
  1. 5
      xorriso/write_run.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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);

@ -1 +1 @@
#define Xorriso_timestamP "2011.04.03.094634"
#define Xorriso_timestamP "2011.04.04.064909"

Loading…
Cancel
Save