commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [VFS] Deleting read only files
Date Sat, 15 Oct 2005 05:44:27 GMT
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


Mime
View raw message