This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Changing File Permission to Execute on Unix Box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Changing File Permission to Execute on Unix Box" Watch "Changing File Permission to Execute on Unix Box" New topic
Author

Changing File Permission to Execute on Unix Box

Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
Hello All,
Would like some help on changing the permission on unix box using java program.requirement is something like this ......
U have earlier created a file on unix platform using java program . However at that time the file is created with rw permission . Now what I need to do is give the execute permission to the other group . How ever I am not allowed to make any native call or any use Runtime.exec()...
Now How do I change the file permission. Please
guide me.
Thanks
Sandeep


Try and Try Till u succeed<br /> <br />Sandeep Jain
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing File Permission to Execute on Unix Box
 
Similar Threads
java swing on solaris2.5
unix/ias/java help
unix/ias/java help
Connecting to Unix via Windows
Java Swing Application that connects to UNIX box and execute some UNIX commands