How to copy files from windows to linux with permissions

By harrysco ·
I have recently installed a CISCO NSS2000 device on my network and also joined to my A/D. I created some shares on the NSS2000 and gave access to specific users. Now, I want to move a large amount of data from a Windows file server (win XP machine) onto this device. I can move the files with copy/paste but all the permissions are lost, and nobody can access them. Is there any other way to transfer the data and keep the permissions?

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

have you tried rsync?

by jeremyrem In reply to How to copy files from wi ...

GUI's for linux - GADMIN RSYNC (as part of Gadmintools), Grsync and QtdSync (since v0.6.11)

GUI's for windows - Windows GUIs with client and server support are DeltaCopy, QtdSync or Syncrify

The basic usage to synchronize two folders looks like
rsync -r -t -v /source_folder /destination_folder

This overwrites existing files on the destination_folder having the same name as files in source_folder. The -r option allows for recursion into subfolders. If you want to preserve newer existing files from overwriting, you can type

rsync -r -t -v -u /source_folder /destination_folder

or if you want to backup existing files before overwriting them

rsync -r -t -v -b /source_folder /destination_folder

Back to Networks Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums