File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Using java to chmod files in Unix
Joined: Jun 17, 2003
May 19, 2006 08:35:00
Can we use
to reliable change permissions (chmod) or owner (chown) of files in a unix file system ?
Any ideas will be most appreciated
author and iconoclast
Joined: Jul 08, 2003
May 19, 2006 08:38:00
Sure. Use the Runtime.exec() family of methods to execute the chmod/chown programs.
[Jess in Action]
subject: Using java to chmod files in Unix
Problem starting Tomcat 4.1.31 on Mac OS X
Changing File Permission
How to get File.canRead() to return false?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015