This content has been marked as final. Show 1 reply
I tested with canRead() and setReadable(true) provided by the "File" class of "io" java, but it's still not working!
the canRead() method always returns true even if you have no right to "Read" on the folder.
the setReadable(true) method does not apply the right "read" on the folder
You can't just make statements. You need to provide proof that supports what you are saying.
Saying something is 'still not working' has NO meaning whatsoever. Post the exception and stack trace that you get.
'always return true' - provide something that supports this
You also need to post the code you are using, the full Java version and the full OS version.