linux user group brescia

immagine del castello

Archivio della mailing list

hoibò kexi a pagamento?? + bonus

Giuseppe Corbelli cowo78 a gmail.com
Mar 5 Dic 2006 22:56:35 UTC
Enrico Colombini wrote:
> Giuseppe Corbelli wrote:
>> 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).
> 
> Premesso che non ho approfondito... come mai i programmi di 
> masterizzazione per Windows (Nero, NTI) funzionano tranquillamente da 
> utente limitato? Non passano per la stessa interfaccia ai device usata 
> da cygwin?

Da cdrecord, immagino.
Comunque sì. Su nt e successori usano esattamente le stesse due syscall.
Quello che non so assolutamente é come funzioni il suid su cygwin...

-- 
         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