I've got an aging mac os X 10.7.5 server running Apple's smb. I'd like to mount a file share from it onto a new file server (ubuntu 16.04.2), and rsync everything from old mac share to the new server. I can successfully mount the share using this mount command:
sudo mount -t cifs //ServerIP/Groups /mnt/Server_backup -o "ro,credentials=/root/.secret_smbpw"
and can browse the share and its directories.
sudo rsync -a /mnt/Server_backup /New_Groups_Share
Permission denied (13)
I have tried adding the ubuntu user to the Group that owns the file shares on the mac, but still get the problem.
When I run the mount command on the ubuntu machine (after the share has been mounted), I can see the mount options that are in place:
/mnt/Server_backup type cifs (ro,relatime,vers=1.0,cache=strict,username=Ubuntu_User,domain=Mac_host_name,uid=0,noforceuid,gid=0,noforcegid,addr=ServerIP,file_mode=0755,dir_mode=0755,nounix,mapposix,rsize=61440,wsize=65536,actimeo=1)
My ultimate goal is to get rsync running nightly to sync the shares on the old file server with the new server until I can arrange a date for the office to cutover to the new server.
Thanks in advance,