Thanks for your reply, but how do we set file permission dynamically from java program.
for instance we have below direcotry structure and want to give write access to place or edit files under LEVEL 2 DIRECTORIES , how can we do that ? I also donot want him to navigate uppel level directories. How do we set permissions from java ?
LEVEL 1 DIR
LEVEL 2 DIR
LEVEL 2 DIR
FILE1
FILE2
FILE3
LEVEL 2 DIR