ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49485] New: Touch tasks ignores errors from under some conditions
Date Tue, 22 Jun 2010 01:25:22 GMT

           Summary: Touch tasks ignores errors from
           under some conditions
           Product: Ant
           Version: 1.8.1
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks

The ant touch task currently ignores error conditions coming back from the call under some conditions.

To reproduce, take the following steps. Assume for the sake of the test that
there are two users - userA and userB - in a group called "testusers".

1. Create a file called foo.txt. Ensure that this file is owned by userA and
group writeable - I used 664 as the permissions mask.
2. As userB, run an ant script containing <touch file="foo.txt" />.

The script will execute fully, but fail silently - the failure result coming
back from the call inside touch is ignored. The
failure in this case is appropriate; however, the user should be alerted to the

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message