Problem: I cannot read files on another computer
written to DVD using gnomebaker with rockridge option
(extension) enabled, because now gnomebaker leaves
ownership and modes from existing files. For example if
I'm writing file, which owner id is 1001 and mode is
-r-- --- --- into DVD disk, then I can't read this file
from DVD disk when I'm logged with user, which uid
isn't 1001 :(
Solution: Gnomebaker should enable by default -r option
from mkisofs manual:
-r This is like the -R option, but file ownership and
modes are set to more useful values. The uid and gid
are set to zero, because they are usually only useful
on the author’s system, and not useful to the client.
All the file read bits are set true, so that files and
directories are globally readable on the client.
If any execute bit is set for a file, set all of the
execute bits, so that executables are globally
executable on the client.
If any search bit is set for a directory, set all of
the search bits, so that directories are globally
searchable on the client.
All write bits are cleared, because the CD-Rom will be
mounted read-only in any case. If any of the special
mode bits are set, clear them, because file locks are
not useful on a read-only file system, and set-id bits
are not desirable for uid 0 or gid 0. When used on
Win32, the execute bit is set on all files.
This is a result of the lack of file permissions on
Win32 and the Cygwin POSIX emulation layer. See also
-uid -gid, -dir-mode, -file-mode and -new-dir-mode.