I created a folder /home/sambatest and that gave the same error.

 

Permissions on /home are:

 

drwxr-xr-x 169 root root 4.0K Dec 21 14:15 home

 

Thanks

 

CR

 

From: wlug-bounces@list.waikato.ac.nz [mailto:wlug-bounces@list.waikato.ac.nz] On Behalf Of Cameron Rangeley
Sent: Monday, 21 December 2009 1:58 p.m.
To: wlug@list.waikato.ac.nz
Subject: [wlug] Rsync and Samba

 

Hi Guys

 

I am running two RHEL boxes, each day I am rsyncing some data from my primary server to my secondary server.

 

I am rsyncing the entire /home partition.

 

On my primary server there are about 8 samba shares for data that the clients can access all the samba shares point to various sub-directories within /home.  My issue is that on my secondary server I cant connect to the shares from a windows workstation.

 

My smb.conf file is exactly the same as my primary server and to test I have created a test mount in /mnt/test and I can connect to that fine.  It appears that the issue is all around the fact that these directories that have been created with rsync.

 

My rsync command is: rsync -arzgopulv --delete /home root@192.168.9.2:/

 

My smbd.log file says: '/home/folder/folder/folder does not exist or permission denied when connecting to [akemail] Error was Permission denied.

 

I can see the folder in samba I have forced the user as root and I have chmodded the folder to 777.  Access from the console to these files and folders works fine.

 

Has anyone got any other ideas that I can try?


Thanks


Cameron

 

 

 

 

-- This message has been checked by the Turnstone managed spam filter and is believed to be clean.