LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Rsync issue with SMB share (https://www.linuxquestions.org/questions/linux-server-73/rsync-issue-with-smb-share-4175590268/)

allen_m 09-27-2016 01:52 PM

Rsync issue with SMB share
 
I am attempting to migrate an aging SMB shared folder to a new server via rsync. Most of the files transferred fine; but, many critical ones did not as they seem to be read-only. The origin location is a directory on the host machine's boot drive with 777 permissions. I have tried recursively CHMOD'ing the directory to add write permissions but the process fails just as the rsync does. file owner/group for all is the Samba nobody:nogroup. sudo chmod doesn't help.

I'm stumped. Any suggestions?

TIA,
-Allen M.

allen_m 09-27-2016 03:48 PM

Odd item of note... Even my home directory is read-only.

wpeckham 09-27-2016 10:26 PM

Rsync issue with SMB share
 
If the original host is a Windows machine, that is where I would change the permissions.
If I could not, the next best way is to use a true backup or archive tool to grab an image to a *nix machine, change permissions there, and port that to the final destination( perhaps using rsync).
Windows will just fight you forever on some things, this may be one.

allen_m 09-28-2016 07:32 AM

Both machines are linux...
Issue seems to be a drive that is dying. I had someone in the office connect a monitor to the suspect server (I SSH in remotely) and a reboot revealed drive errors that were recoverable. Looks like retiring that machine was a good idea after all.

Thanks!


All times are GMT -5. The time now is 08:24 AM.