Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 88906 invoked from network); 24 May 2007 14:38:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 May 2007 14:38:37 -0000 Received: (qmail 41987 invoked by uid 500); 24 May 2007 14:38:41 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 41942 invoked by uid 500); 24 May 2007 14:38:41 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 41931 invoked by uid 99); 24 May 2007 14:38:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 07:38:41 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 07:38:35 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 71916714044; Thu, 24 May 2007 07:38:15 -0700 (PDT) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 42511] New: - FixCrLf task changes file security settings on Windows Vista Message-ID: X-Bugzilla-Reason: AssignedTo Date: Thu, 24 May 2007 07:38:15 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42511 Summary: FixCrLf task changes file security settings on Windows Vista Product: Ant Version: 1.7.0 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: stefan.wachter@gmx.de I am using Ant inside an installer that runs with administrator privileges on Windows Vista. The files that are copied into the C:\Programm Files\ folder have their security set such that all users can read and execute these files. The FixCrLf task creates temporary files in the temporary directory of the current user. Files that are created there can not be read and executed by all users. Only the current user has "full control". When the FixCrLf task renames its temporary files in order to replace the original ones the security settings of the temporary files are kept. In my example the files under C:\Programm Files\ that were processed by the FixCrLf task are no longer readable by all users! Proposed fix: The temporary file that is used by the FixCrLf task to process a source file must be created in the directory the original file stays in. By this means the temporary file gets the same security settings as the source file. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org