bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-xorriso] feature request: -uid and -gid


From: Thomas Schmitt
Subject: Re: [Bug-xorriso] feature request: -uid and -gid
Date: Fri, 17 Nov 2017 09:19:27 +0100

Hi,

Marc Pawlowsky wrote:
> mkisofs supports -uid and -gid to set the user and group of the files
> in the generated iso file.
> However these options are not supported by xorriso.
> 
> When causing byte for byte identical builds, by different users, it is
> good to be able to use these options to a consistent value.

These options are indeed missing in the mkisofs emulation of xorriso.

The native command set of xorriso has commands -uid and -gid for globally
changing ownership. There are also -chown, -chgrp, -chown_r, -chgrp_r,
and -find actions of the same name.

If you need the feature immediately, consider to use native commands for
your entire ISO production run.
Like:

  export SOURCE_DATE_EPOCH=1510905121
  xorriso -outdev my_image.iso \
          -map ./disk_dir /iso_dir \
          -uid 1000 -gid 1234
  
Or consider to leave the mkisofs emulation before the program starts to
write the ISO.
Like:
  
  export SOURCE_DATE_EPOCH=1510905121
  xorriso -as mkisofs \
          -o my_image.iso \
          -graft-points /iso_dir=./disk_dir \
          -- \
          -uid 1000 -gid 1234

The SOURCE_DATE_EPOCH variable makes inner now-timestamps of the ISO
reproducible.

I will in the next days add -uid and -gid to the mkisofs emulation
and will give you a note when a tarball is available for download.


Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]