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 13:32:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49384

--- Comment #5 from Jesse Glick <jglick@netbeans.org> 2010-06-23 09:32:15 EDT ---
(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? What people usually want is o-w,
go-r, or a+x, all of which you can do from java.io.File.

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

http://java.sun.com/javase/7/docs/api/java/nio/file/attribute/PosixFilePermissions.html

-- 
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