E
Edwin
Hi,
i've got a problem where i'm having a user try to remove a
share from a directory by using the following batch
sequence. (The OS i'm referring to W2K server )
for /f %%i in ('type c:\temp\usermgmt\rmvusers.txt')
c:\temp\usermgmt\rmtshare \\server\%%i$ /delete
Now, when i run this sequence myself ( as being a domain
admin and subsequently local admin on that server )
all runs fine.
Now when the user ( having only full controll on the
share & the directory to which the share is attached )
he/she gets the following bit of error code.
The command failed: 5
Besides the full rights on the actual share and dir
the user has full rights on the upperlying share and
list on the directory to which this upper share is
attached.
Above that the user has no rights whatsoever.
Now I've been discussing this with a colleague
and he suggested to give the user the following
privilege ( SetCreatePermanentPrivilege ).
Why you may ask. Well when the directory is initially
created 'System' creates the share automatically
since the server is actually a Microsoft Cluster Server
and the 'share & hide subdirectories' option has been
activated on the parent shared resource.
Does anyone know where i can find a bit of information
on this advanced privilege and has anyone already
encountered this situation? Any help is greatly
appreciated.
Thanks,
Edwin
i've got a problem where i'm having a user try to remove a
share from a directory by using the following batch
sequence. (The OS i'm referring to W2K server )
for /f %%i in ('type c:\temp\usermgmt\rmvusers.txt')
c:\temp\usermgmt\rmtshare \\server\%%i$ /delete
Now, when i run this sequence myself ( as being a domain
admin and subsequently local admin on that server )
all runs fine.
Now when the user ( having only full controll on the
share & the directory to which the share is attached )
he/she gets the following bit of error code.
The command failed: 5
Besides the full rights on the actual share and dir
the user has full rights on the upperlying share and
list on the directory to which this upper share is
attached.
Above that the user has no rights whatsoever.
Now I've been discussing this with a colleague
and he suggested to give the user the following
privilege ( SetCreatePermanentPrivilege ).
Why you may ask. Well when the directory is initially
created 'System' creates the share automatically
since the server is actually a Microsoft Cluster Server
and the 'share & hide subdirectories' option has been
activated on the parent shared resource.
Does anyone know where i can find a bit of information
on this advanced privilege and has anyone already
encountered this situation? Any help is greatly
appreciated.
Thanks,
Edwin