[jcifs] Security Correctness

Jake Goulding goulding at vivisimo.com
Mon Jul 24 22:04:53 GMT 2006


I create a folder that is accessible (read/traverse rights) only to 
group A, then put a file inside that folder that is only readable by 
user Z (not in A). I then getSecurity() on the file, it will show that Z 
has read access to the file. However, if user Z actually comes along, 
she cannot read the file because she cannot traverse into the folder. Is 
there some way of getting the effective rights of a given file?

Thanks!

-- 

JAKE GOULDING
Software Engineer
goulding at vivisimo.com

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com      clusty.com




More information about the jcifs mailing list