[Webinar] Learn how to a build a cloud-first strategyRegister Now


Transferring permissions

Posted on 2012-09-04
Medium Priority
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

ID: 38364019
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

Seaton007 earned 672 total points
ID: 38364035
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

deroode earned 664 total points
ID: 38371250
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):


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

mburdick earned 664 total points
ID: 38460839
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.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the withdrawal of support for Windows Server 2003 this summer, many clients face the issue of moving away from their 2003 installs. There are a few options out there that many people/companies are selling. But the clients I have, haven't wanted…
Resolve DNS query failed errors for Exchange
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), 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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

865 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