Permissions on NFS share and rsync

Status
Not open for further replies.

STREBLO

Patron
Joined
Oct 23, 2015
Messages
245
So I have set up an NFS share to a data said where I've been backing up my entire computer using rsync where I am pulling from FreeNAS and running it on my computer. I'm not sure what I should have my permission sent to on the data set it because I want rsync to be run as root so that when I browse the share on my computer I can access the root files with root and my users file with the user. Right now I can access my my users files but when I try to access root's I do not have permission to open themeven when I try to do it as root.


Here are my configurations:

Code:
Path:   /mnt/tank/backups/Archon/Sync
User:   root
Remote Host:   192.168.0.x
Rsync mode:     Rsync module   
Remote Module Name:   Rsync
Direction:     Pull   
Short description:   Rsync entire desktop.
Recursive:    x
Times:    x
Compress:    x
Archive:    x
Delete:    x
Quiet:    
Preserve permissions:    x
Preserve extended attributes:    x
Delay Updates:    
Extra options:   --hard-links --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/media/*","/mnt/*","/lost+found"} --password-file=/mnt/tank/backups/Archon/.rsync-secrets
Enabled:   x


Code:
Module name:   Rsync
Path:   /mnt/tank/backups/Archon/Sync
Access Mode:    Read and Write   
Maximum connections:   0
User:   root
Group:   root


Code:
use chroot = no
max connections = 0

[Rsync]
        uid = root
        gid = root
        path = /
        comment = Synchronize entire Archon desktop.
        auth users = root
        secrets file = /etc/rsyncd.secrets
        log file = /var/log/rsync.log
 
Last edited:
Status
Not open for further replies.
Top