[jcifs] Create and Write Permissions on a Directory

Michael Matczynski mjm at alum.mit.edu
Fri Feb 19 09:33:12 MST 2010


Once authenticated via NtlmPasswordAuthentication, what's the best way
to determine if that user has CREATE and WRITE permissions in a CIFS
SmbFile directory?

I've tried taking the SmbFile of the directory and calling canWrite(),
but on an OpenFiler/Samba server this was returning 'true' while on a
Windows 2003 Server it was returning 'false' (even though creating a
SmbFile inside that directory and calling getOutputStream() was


More information about the jCIFS mailing list