[Logo]
Forums Register Login
Using java to chmod files in Unix
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
Sure. Use the Runtime.exec() family of methods to execute the chmod/chown programs.

This thread has been viewed 2162 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 15, 2018 18:46:48.