ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49384] Fix for Bug 48746 causes slowdown in chmod task execution
Date Wed, 23 Jun 2010 14:20:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49384

--- Comment #6 from Stefan Bodewig <bodewig@apache.org> 2010-06-23 10:19:59 EDT ---
(In reply to comment #5)
> (In reply to comment #4)
> > [java.io.File methods in JDK 6] don't provide the same functionality -
> > you can't change permission for the group or set sticky bits.
> 
> How often do people set a sticky bit from Ant?

No too often.

> What people usually want is o-w, go-r, or a+x, all of which you can do from
> java.io.File.

I'm not sure how common different permissions for group and others would be,
which I don't think you could achieve with the File API.

> Note that JDK 7 has APIs permitting full control over file attributes:

Which is even further in the future.

Like I said, such a task would be a nice alternative but won't be able to
replace the current tasks completely.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message