commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillermo Vasconcelos" <gvasconce...@baufest.com>
Subject Re: [VFS] Deleting read only files
Date Mon, 17 Oct 2005 18:58:52 GMT
It's working ok for me now, with the latest nightly.
Thanks a lot
Guillermo Vasconcelos

----- Original Message ----- 
From: "Mario Ivankovits" <mario@ops.co.at>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
Sent: Saturday, October 15, 2005 2:44 AM
Subject: Re: [VFS] Deleting read only files


> Guillermo Vasconcelos wrote:
>> I have been using an older version of VFS for a while, and had 
>> implemented a "forcedDelete()" method in AbstractFileObject that skipped 
>> the isWriteable() checking in deleteSelf() to allow "unconditional" 
>> deletion.
>> Is there an "official" way of deleting read only files?
>>
> Indeed this check is wrong - file permission in this case is only half the 
> story.
> I removed the check.
> You should be able to use the next nightly out of the box.
>
> Ciao,
> Mario
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message