| Author |
Using java to chmod files in Unix
|
Anupreet Arora
Ranch Hand
Joined: Jun 17, 2003
Posts: 81
|
|
Can we use java to reliable change permissions (chmod) or owner (chown) of files in a unix file system ? Any ideas will be most appreciated Thanks Anupreet
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
|
Sure. Use the Runtime.exec() family of methods to execute the chmod/chown programs.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: Using java to chmod files in Unix
|
|
|