[jcifs] can I detect symbolic links?

dasKleineb at gmx.net dasKleineb at gmx.net
Fri Nov 24 11:10:14 GMT 2006


The problem is solved. The server has a new user acount
where the option 'follow symbolic' links is disbaled.

thanks,

bastian


> hi,
> 
> In my case users should not have the same rights when they
> login over the network. I want to prevent that a user
> create a symbolik link to a directory where he local has
> right for.
> 
> 
> Looks like the SmbFile only give information about
> the canonical path.
> 
> The java.io.File class has the method getAbsolutePath().
> 
> Is there a way to detect, if a file is a symbolic link?
> 
> 
> (i found a thraed from 2003 that it is not possible,
>  but maybe somthing changed)
> 
> 
> Thanks for help,
> 
> Bastian
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the jcifs mailing list