Transferring permissions

Posted on 2012-09-04
Last Modified: 2014-07-04
Is there a way to 'transfer' file/folder permissions from a Novell server to Windows Server 208R2?
Question by:allornuthin
    LVL 11

    Expert Comment

    If the Novell Server offers a CIFS compatible share (Should be if you ask like this!) then you can copy the content (folders and files) with a tool like "Robocopy" to preserve the permissions.
    LVL 12

    Accepted Solution

    Here you go: Netware Migration
    (File Migration Utility (FMU). Migrates NetWare files to Windows Server 2008 R2 while preserving their access control permissions.)

    Also, take a look at these:
    Migrating from Novell NetWare to Windows Server 2008 R2
    Migration Options (See the Recommended File Migration Strategy section)
    LVL 19

    Assisted Solution

    If you only want to transfer filesystem permissions you mean that groups and users are already in place?
    I once created an AutoITscript for doing just that; It reads a trustee.txt file (created with trustee.nlm) and converts it to a batch file filled with icacls commands. It isn't very polished (and it won't be polished since it was a one-time trick), but does the job. The advantage is that in the resulting batch file you can do some search-and-replacing etc.

    Known bugs: Hard coded paths; only RF and RWCEMF conversions

    Trustee.nlm is found here: Trustee.nlm

    Sample trustee.txt file (part):

    TRUSTEE.NLM v1.10

    Sample Result file:

    icacls "f:\backup\ABD\AB" /grant "STAF-ABD-AB-SHRW":(OI)(CI)(RX,M) /C
    icacls "f:\backup\ABD\BVDP" /grant "STAF-ABD-BVDP-SHRW":(OI)(CI)(RX,M) /C
    icacls "f:\backup\ABD\BVDP" /grant "STAF-ABD-BVDP-SHRW":(OI)(CI)(RX,M) /C
    icacls "f:\backup\ABD\BVDP" /grant "STAF-ABD-BVDP-SHRW":(OI)(CI)(RX,M) /C
    icacls "f:\backup\ABD\BZ" /grant "STAF-ABD-BZ-SHRW":(OI)(CI)(RX,M) /C

    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_icon=G:\Uitwissel 2e-lijn\ICONS\ssc-ict.ico
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    #include <Array.au3>
    $trusteefilename = FileOpenDialog("select trustees file", "S:\", "any (*.txt)", 1)
    $trusteefile = FileOpen($trusteefilename, 0)
    Dim $group, $path, $parts
    ; Check if file opened for reading OK
    If $trusteefile = -1 Then
        MsgBox(0, "Error", "Unable to open groupfile.")
    $fileout = FileOpen (EnvGet("TEMP")&"\adrights.cmd" ,2)
    ; Check if file opened for writing OK
    If $fileout = -1 Then
        MsgBox(0, "Error", "Unable to open file.")
    ; Read in lines of text until the EOF is reached
    	$line = FileReadLine($trusteefile)
    	$eof = @error
    	; $parts will contain the parts of the line
    		; $parts[0] is the number of parts
    		; $parts[1] is "trustee", 
    		; $parts[2] is the path ("vol2:\ABD\AB")
    		; $parts[3] is "LONG"
    		; $parts[4] is group ("STAF-ABD-AB-SHRW.ABD.STAF.EUR"),
    		; $parts[5] is rights ("RWCEMF")
    	if $parts[1] = '"TRUSTEE"'Then
    		;_ArrayDisplay ($parts,"")
    		; replace user2 with \\esrv012
    		$parts[2] = StringReplace($parts[2],'user2:',"f:\backup")
    		; get groupname without trailing dots
    		if $firstdot=0 then 
    		$parts[4]=StringMid($parts[4],1,$firstdot-1) & '"'
    		if $parts[5] = '"RF"' then 
    			$parts[5] = "RX"
    		if $parts[5] = '"RWCEMF"' then 
    			$parts[5] = "(RX,M)"
    ;		if stringlen($parts[5]) > 1 Then
    ;			MsgBox (0,"error","wrong permissions - "&$parts[5])
    ;		EndIf
    		;_ArrayDisplay ($parts,"")
    		FileWriteLine ($fileout, 'icacls '& $parts[2] & ' /grant ' & $parts[4] & ':(OI)(CI)'&$parts[5] &' /C')
    until $eof = -1
    Run("Notepad.exe " & EnvGet("TEMP")&"\adrights.cmd")

    Open in new window

    LVL 12

    Assisted Solution

    File and folder permissions on a Novell server are much more "intricate" than anything available in the Microsoft world. There is no direct way to map every permission combination available on a Novell volume to permission combinations on a Windows volume.

    Novell has a software product suite (File Management Suite) that contains utilities that are capable of moving content between the two disparate file systems and mapping permissions. Storage Manager (one of the components) can perform Cross-Empire Data Migration (CEDM) by moving the content and setting all of the appropriate permissions. You are responsible, however, for validating the permissions that will be put in place after the data is moved.

    Storage Manager also sets ownership and other attributes as part of the data move that you typically don't get with other homegrown or commercial utilities.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
    Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now