Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Beginning Java
Using java to chmod files in Unix
Anupreet Arora
Ranch Hand
Posts: 81
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Posts: 24207
46
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Sure. Use the Runtime.exec() family of methods to execute the chmod/chown programs.
[Jess in Action]
[AskingGoodQuestions]
I knew that guy would be trouble! Thanks tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Problem starting Tomcat 4.1.31 on Mac OS X
Changing File Permission
.bin files????
How to get File.canRead() to return false?
File.canWrite()?
More...