• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

Copy files, folders, and permissons from server 2003 to LINUX

Is there a way to copy files and permission from a windows 2003 server to a LINUX based server? I'd like to move a share folder to a LINUX box however, I'm not quite sure how to go about the whole process of using windows groups in LINUX and copying those permissions over (if it is possible at all).
1 Solution
You can use the NFS services available in Windows 2003 R2 to provide this functionality.
Earlier version also had some NFS services, but the ones in R2 are vastly suprerior.
The best way to share files to windows machines from a linux server is to use samba which is available in the package manager for just about any linux distribution, and if it isn't you can easily compile it from source.

If you are running active directory samba can be configured to act as a member server and can check group membership.  Actual file-level ownership can be done too, but it is a little more complicated.

The linux box won't be able to copy the permissions - you would have to re-create them.  Perhaps if you first created the share on the linux box and exported it via nfs, coppied the files over, then switched to samba the permissions would be intact (you'd still have to re-create the share permissions, but the file level would be correct).  I have never tried it, I've always found it easier to just re-create the permissions, but then again I've only done it in very basic setups and I already know exactly what the permissions should be.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now