linux user group brescia

immagine del castello

Archivio della mailing list

hoibò kexi a pagamento?? + bonus

Giuseppe Corbelli cowo78 a gmail.com
Lun 4 Dic 2006 08:30:15 UTC
Enrico Colombini wrote:
> Vedo che in effetti readcd c'e' nel mio cygwin (m'ero scordato la storia 
> delle mie traversie) ma devo eseguirlo da amministratore altrimenti non 
> vede i driver. Non mi pare un problema di eseguibile, dato che i 
> permessi sono "-rwsr-xr-x".
> 
> Immagino di dover cambiare qualche altro permesso per poterlo eseguire 
> da un utente limitato di XP?
> (strano dover cambiare dei permessi per leggere un disco)

Indipendentemente dal fatto che tu debba leggere o scrivere devi avere il 
permesso per leggere e scrivere sul file di interfaccia al device, in modo da 
poter mandare i comandi SCSI. Su come funzioni il SUID su cygwin non so una 
sega, quindi non mi pronuncio.


http://support.microsoft.com/kb/241374/EN-US/

Starting with Windows NT 4.0 Service Pack 4 and beyond (including Windows 
2000), there are new access requirements for SCSI (small computer system 
interface) pass through requests. For SCSI pass through requests, both 
GENERIC_READ and GENERIC_WRITE access must be specified in the dwDesiredAccess 
parameter of the CreateFile call.

If both read and write access are not specified, the DeviceIoControl call will 
fail with ERROR_ACCESS_DENIED (5L).

Note that only members of the administrator's group have the correct authority 
to send SCSI pass through requests. Users without administrator authority 
typically fail either CreateFile or DeviceIoControl with ERROR_ACCESS_DENIED (5L).

-- 
         Giuseppe "Cowo" Corbelli ~\/~ My software: http://cowo.yoda2000.net
-<! Non c'e' niente da dire in proposito. Tutto quello che uno deve fare e'
   colpire i tasti giusti al momento giusto, e lo strumento suona da solo. !>-
                                 J.S. Bach




Maggiori informazioni sulla lista Lug