Re: Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1

2013-03-04 Thread Alan Bateman
On 04/03/2013 12:23, Alexey Utkin wrote: : We can have the situation with: 1) OpenThreadToken return 0 without exception - that is ok for thread without impersonation. 2) processTokenWithDuplicateAccess is 0 for some reason (weak precess privileges) For that case we have no access to

Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1

2013-03-01 Thread Alexey Utkin
On 28.02.2013 19:41, Alan Bateman wrote: On 28/02/2013 15:17, Alexey Utkin wrote: That is not single, but 4 additional parameters ( FILE_GENERIC_READ, FILE_GENERIC_WRITE, FILE_GENERIC_EXECUTE, FILE_ALL_ACCESS) - that are relatively complicate masks. That parameters have to be changed

Re: Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1

2013-03-01 Thread Alan Bateman
On 01/03/2013 11:45, Alexey Utkin wrote: That is possible, but includes pre-requirements for installed MS tools. That is not a good idea. I agree. New version of the fix was prepared. Bug description: http://bugs.sun.com/view_bug.do?bug_id=7190897