ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Beton <richard.be...@roke.co.uk>
Subject Re: Conditional chmod - Windows attrib and cacls
Date Mon, 13 Nov 2000 08:45:26 GMT
Nico Seessle wrote:

> If you can tell me (us) how to set file-permissions on Windows from Java it
> could be implemented. And I would really like to have a method to see
> file-permissions on Windows Servers (without ant, just using the
> command-line :-))

To read or set read-only flag use attrib
(type attrib /?) for help listing)

To display or modify access control lists, use cacls
(type cacls /? for help listing). cacls /e is particularly useful, I find.

Rick


Mime
View raw message