Re: Copy files from read only fs as writable

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

 



Tim wrote:
...
John Summerfied:

If the CD is created with rock ridge extensions, the permissions will be correct (that's what the extensions are for).


Though, I see all files on a CD being executable, including those which
were put onto a CD that weren't originally executable.  Not to mention
discs burnt elsewhere where you don't have any idea of their origins.

If you create the iso image using -R instead of the
(usual) -r option to mkisofs, you would keep all information
(permission, owner, etc.):

$ ls -l /misc/dvd/folder1
total 0
-------rwx  1 mk itgroup 0 Jan 17 14:49 007
----rwx---  1 mk itgroup 0 Jan 17 14:49 070
-rwx------  1 mk itgroup 0 Jan 17 14:49 700

However, you risk making a cd that other's can't
read unless they have root permissions.

Mogens

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux