Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 59599 invoked from network); 17 Oct 2005 19:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2005 19:02:42 -0000 Received: (qmail 6711 invoked by uid 500); 17 Oct 2005 19:02:32 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 6649 invoked by uid 500); 17 Oct 2005 19:02:32 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 6587 invoked by uid 99); 17 Oct 2005 19:02:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 12:02:32 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=DNS_FROM_RFC_DSN X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [200.63.17.169] (HELO baufest.com.ar) (200.63.17.169) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Oct 2005 12:02:32 -0700 Received: (qmail 24900 invoked by uid 0); 17 Oct 2005 19:02:02 -0000 Received: from pc-00061 (192.168.100.61) by naranja.baufest.com.ar (200.63.17.169) with ESMTP; 17 Oct 2005 19:02:02 -0000 Message-ID: <018501c5d34c$d111d830$3d64a8c0@baunet.local> From: "Guillermo Vasconcelos" To: "Jakarta Commons Users List" References: <005101c5d0fd$a53def10$3d64a8c0@baunet.local> <4350973B.4030707@ops.co.at> Subject: Re: [VFS] Deleting read only files Date: Mon, 17 Oct 2005 15:58:52 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It's working ok for me now, with the latest nightly. Thanks a lot Guillermo Vasconcelos ----- Original Message ----- From: "Mario Ivankovits" To: "Jakarta Commons Users List" 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