aspose file tools*
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
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