Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2007, 12:47 AM   #1
Registered: Jan 2006
Location: Sri Lanka
Posts: 636

Rep: Reputation: 34
rsync on to a samba mount on a AS3 (Windows)


I have 4 servers Two on RedHat AS 3 and other Windows 2003


S1 <--Mount--> S3 <-----rsync-------< S4 <--Mount--> S6

S1, Windows 2003 server with a share, mounted on S3 as a (RW) samba mount using the /etc/fatab, its entries as fallow

//avaapssvd2/rsync /mnt/win smbfs auto,usr,wr,uid=rsync-usr,gid=rsync-usr,username=rsync-usr,password=avabill,umask=000 0 0

S3, RedHat AS3 server who will pull the files and apply to the mounted share on S3 using command

rsync -apogcvv --modify-window=1 -e ssh rsync-usr@ /mnt/win

S6, has a read only share which in turn mountd on AS3 server S4

My problem is

For some files I am getting this errors, can any body tell me how to avoid this.

failed to set times on Forms/STATUS_CHANGE.fmx : Permission denied


rename Forms/.RCPTMLSZC.fmx.a4W3pI -> Forms/RCPTMLSZC.fmx : Permission denied

Hear why is, he trying to rename the file, all I want is rsync to copy every thing from server 4 to 3 so the windows directories will be updated.

Hope the scenario is clear.


Old 01-23-2007, 09:07 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I've had the same problem - I think it has to do whith NTFS permissions. You can copy but you can't rename or move within NTFS partition mounted remotely. I'm still trying to investigate this further. If you are automating file manipulation between Linux and Windows I would recommend to dedicate a FAT32 directory if you want smoother processing of files. Then within the Windows server you can create further automated scripts to move the files between the FAT32 directory and the NTFS directory. If you are dealing with mega files then that's a different story. Also I found that it is better if you pull data from Windows < Linux than to push data from the Linux > Windows. Blame Microsoft for their closed mentality.
Old 01-23-2007, 05:09 PM   #3
Registered: Jan 2006
Location: Sri Lanka
Posts: 636

Original Poster
Rep: Reputation: 34
Hi ramram29

Though I was alone when I did not get a reply.

Tell me is there a way to stop the renaming and just rsync the files as it is.

Thank you

Best regards



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
Can Redhat AS3 support the printer of XEROX-workcenter385 through samba bxr1981 Linux - Hardware 0 02-28-2006 06:23 PM
Cannot mount samba share from windows XP Astro Linux - Software 2 12-18-2004 11:26 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 06:03 PM
samba-cant mount windows drive spideywebsling Linux - Networking 2 07-20-2004 03:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:44 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