https://issues.apache.org/bugzilla/show_bug.cgi?id=49384

--- Comment #5 from Jesse Glick <[email protected]> 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.

Reply via email to