This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing File Permission to Execute on Unix Box

 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic