Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-23-2004, 06:01 PM   #1
Registered: Mar 2004
Location: Nebraska
Distribution: SuSE, RedHat
Posts: 36

Rep: Reputation: 15
Copy files from Windows to Samba

Is there an easy way to copy files from a Windows file server to a Samba file server while retaining all of the old file permissions? I have Samba set up as a member of my Active Directory domain and am using winbind so that the Samba box recognizes AD user accounts.

So, the Samba server accepts windows accounts with no problems. I am just looking for an easy way to copy files and permissions from Windows to Samba. I imagine it is going to require a smb.conf configuration that I perhaps have not thought of yet.

Any help would be appreciated, thanks!
Old 11-23-2004, 08:00 PM   #2
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
when you copy files you lose permissions. the files should inherit the permissions of the parent directory.

this is the same for both *nix and windows as far as i know.

now you could use winSCP or some other such program to move the files from one system to an other and at that point set the permisions for the files as you move them around.

dont think that really is what you were looking for though.
Old 11-23-2004, 11:24 PM   #3
Registered: Mar 2004
Location: Nebraska
Distribution: SuSE, RedHat
Posts: 36

Original Poster
Rep: Reputation: 15
Ok, thanks for the info. I don't have alot of files to move, so I can just copy them over and reset the permissions by hand, won't take me that long.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
copy files from linux to windows turbo_acura Linux - General 4 11-23-2004 01:46 PM
How to copy in a script files to a samba folder? Julianus Linux - Networking 1 10-09-2004 07:29 PM
Copy files from redhat to windows homerz Linux - Newbie 3 10-23-2003 01:15 PM
Can't copy large files in SAMBA ghight Linux - Software 11 09-03-2003 01:59 PM
SAMBA refuses to copy large files roel Linux - Newbie 10 06-04-2002 04:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration