[Linux-Biella] Java runtime

Paul TT paultt a bilug.linux.it
Mar 5 Giu 2007 18:42:08 CEST


Federico Pistono wrote:

>On 6/5/07, Raffaele Salmaso <raffaele.salmaso a gmail.com> wrote:
>  
>
>>Federico Pistono wrote:
>>    
>>
>>>Cmq ho pensato che fosse meglio fare un `which mencoder` nello script
>>>che lanciava il server activatable, cosi' mi becco il path assoluto e
>>>posso non usare quell'orribile ALLFILES nel policy.
>>>      
>>>
>>eh?
>>    
>>
>
>public void checkExec(String cmd)
>
>    Throws a SecurityException if the calling thread is not allowed to
>create a subprocess.
>
>    This method is invoked for the current security manager by the
>exec methods of class Runtime.
>
>    This method calls checkPermission with the
>FilePermission(cmd,"execute") permission if cmd is an absolute path,
>otherwise it calls checkPermission with FilePermission("<<ALL
>FILES>>","execute").
>  
>
questo se usi un SecurityManager... perke' diamine vorresti utilizzarlo?????

-- 
Non mi piacciono i tipi che mi hanno ucciso.



Maggiori informazioni sulla lista Linux