[comp.sys.novell] SetTrustee function bug?

mcginnis@kuhub.cc.ukans.edu (05/09/91)

I'm using the NW386 call, SetTrustee, to set the trustee rights 
on files on a server drive, unfortunately, the call won't always
work.  When I run the routine (from the SUPERVISOR) account, it
always works if I'm on drive U: or lower (so long as it's a network
drive, of course).  It won't usually work on drive W: or higher,
but sometimes it will.

If I am on drive W: and the routine won't work on a particular file
I can just change drives (like to F:) and to a CD to change directory
so that the F: drive points to the same directory that the W: drive
is pointing to.  Then when I run the routine it will work.

The only variable that is passed to the SetTrustee function that 
changes when I change drives (but staying in the same directory
and trying to change trustee assignments for the same file) is
the directory handle value.

Anybody else had experience with SetTrustee calls that has seen
the same problem?  Anybody have any good guesses?

Please send E-mail.  I'll post the resolution.

Thanks.

P.S. If it didn't have bugs, it wouldn't be NetWare.

Michael McGinnis            internet: mcginnis@kuhub.cc.ukans.edu
Academic Computing Center     bitnet: mcginnis@ukanvax
University of Kansas           phone: (913)864-0413
Lawrence, KS  66046              FAX: (913)864-0485