LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-27-2016, 01:52 PM   #1
allen_m
LQ Newbie
 
Registered: Sep 2016
Posts: 3

Rep: Reputation: Disabled
Question 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.
 
Old 09-27-2016, 03:48 PM   #2
allen_m
LQ Newbie
 
Registered: Sep 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Odd item of note... Even my home directory is read-only.
 
Old 09-27-2016, 10:26 PM   #3
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,507

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
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.
 
Old 09-28-2016, 07:32 AM   #4
allen_m
LQ Newbie
 
Registered: Sep 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
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!
 
  


Reply


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
[UNsolved]Using RSync with SMB issue pastagage Linux - Server 5 10-18-2012 06:32 AM
[SOLVED] rsync execution issue with crontab - Have given full path to rsync too!! Prabagaran Linux - Server 6 04-15-2011 01:39 AM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 09:03 AM
Placing a SMB share inside an NFS share grittyminder Linux - Networking 0 05-14-2008 03:49 AM
Issue getting to smb network share lmcilwain Linux - Networking 0 07-07-2005 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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