I believe I may have found the answer to this. Isn’t that always the case!!
Would I be correct in that the uid and gid parameters in the rsyncd.conf file
would be the way to ensure which user and group the rsyncd process runs at?
So, in the case below, I would ensure that the uid = dwilliams??
Regards,
_____________________________________________
Dave Williams
Senior Oracle MDM & Financials Consultant
Phone: +1 954 661 8862
On Feb 20, 2017, at 2:28 PM, David Williams
<dwilli...@dtw-consulting.com<mailto:dwilli...@dtw-consulting.com>> wrote:
Hi,
I’ve been using BackupPC for quite a number of years now and I’ve mainly used
it to backup my Linux server and my windows laptop. I recently bought a Mac
and have been setting it up and I’ve had partial success, but it is backing
files up :)
With windows I was was using SMB protocol to backup the laptop and this was
fairly straight forward in that smbclient would log into to Windows laptop as a
certain user and as such had access to all that users files. On my Linux
server I didn’t need any type of access since that is where backupPC sits, so
again very easy.
For the Mac I am using rsyncd which took a little while to work out how to set
up but that seems to be working now. There is one area that I am not clear on
though and I’m hoping that someone on here could help me out. With rsyncd
there is a config file (not that dissimilar to Samba) and there is a secrets
file for the username and password. I was assuming that the user I set up
within this secrets file, if it was the same as my Mac user would have full
access to my files, but that doesn’t appear to be the case, so I think I am
missing something. I am trying to back up files in my /Users/dwilliams
directory. So, my Mac login is dwilliams. Of course, as dwilliams I have full
access to all files under /Users/dwilliams. However, when backuppc connects to
my Mac laptop as dwilliams (the one from the secrets file I assume) it doesn’t
have access to all the files under /Users/dwilliams. I really don’t want to
have to play around with all the directory and file permissions unless it’s
really necessary but I’m hopeful that I’m just missing something here.
Is there a way to rsync to my Mac as the actual dwilliams Mac user so that I
have complete access to /Users/dwilliams?
Failing that, what is the best way of moving forward?
Any help on this would be much appreciated.
Regards,
_____________________________________________
Dave Williams
Senior Oracle MDM & Financials Consultant
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org<http://SlashDot.org>!
http://sdm.link/slashdot_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/