[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] CD/DVD brænding kernel 2.6. Hvorfor kun fra root?



Den 07-09-2006 16:32, skrev Jørgen Heesche:
MEN, HVORFOR er det kun root, der har skrivetilladelse til CD??.

Fordi Linux/unix er multiuser systemer - tankegangen at når man har adgang til maskinens software, har man nødvendigvis også adgang til dens hardware (og burde derfor få lov til at skrive til CDROM drevet) er ikke spor linux-agtig.


På Ubuntu er der en brugergruppe der hedder cdrom, og cdrom-drevet ejes af root og denne gruppe:
brw-rw---- 1 root cdrom 11, 0 2006-09-07 14:43 /dev/scd0


Således skal man bare placere den/de brugere der skal kunne læse og skrive CD'ere i gruppen cdrom.

Husk, cdrecord skriver direkte til devicen, mount er ligegyldigt her..

> lrwxrwxrwx  1 root root 31 Sep  7 09:02 /dev/sr0 ->
> scsi/host1/bus0/target0/lun0/cd

Prøv at checkke permissions på scsi/host1/bus0/target0/lun0/cd

// Martin

 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-10-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *