Tirthankar <tirthankar.das at gmail.com> wrote:

> You can use cdrw utility to burn data on cd.
>
> For example, if you want to burn an iso image on a cd 
>
> #  cdrw -i /space/solaris_dvd.iso

A bad advise: It is not related to the question and there 
is a big chance that cdrw will not work on laptops. cdrw
is harder to use than cdrecord and it supports only selected drives.
cdrecord even works on chea laptops where the CD in on the same 
ATA cable as the HDD. Use the -immed option from cdrecord in this
case (see man page).

The original question was how to change permissions on the medium.
This is not possible _after_ the CD has been written.

If you like different permissions on the CD than in the filesystem,
ther are many possibilities.

One is to use mkisofs -o image.iso -r . (use or -r instead of -R
will assign permissions at Rock Ridge level that allow anyone to read 
all files).

Another way is to use the built in libfind in mkisofs

mkisofs -i image.iso -R -find . -chmod a+rw

will add read and write permissions to owner, group and others to all files.



J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to