Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to set folder permissions

 
kkalyan kkumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone please give some java code on how to set recursive permissions of particular existing folder in the linux system. Thanks in advance
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kalyanKumar kalyanKumar" please check your private messages.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We don't give code, only suggestions.
I suggest you take a look at the File class.
 
kkalyan kkumar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks i'll check it out
 
Campbell Ritchie
Marshal
Posts: 52621
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and check your private messages again, please.
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please note that for full file permission control (user, group, others) you will most likely need to use JNI.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kkalyan kkumar",
Please check your private messages regarding an important administrative matter, again. Your account is in danger of being closed
-Ben
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!