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

Posted on 2007-10-01
Last Modified: 2013-12-16
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).
Question by:trnsfrmrsr
    LVL 8

    Expert Comment

    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.
    LVL 14

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 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

    10 Experts available now in Live!

    Get 1:1 Help Now