rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] backup Windows to Linux file permissions


From: Dominic Raferd
Subject: Re: [rdiff-backup-users] backup Windows to Linux file permissions
Date: Fri, 21 Aug 2015 22:14:15 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Hello Patrik

I think the simple solution is to backup to a directory to which only one linux user has access. For our windows backups each Windows client machine has a separate linux user account on the server and backs up to its home directory. All users' home directories have 0700 permission. So only that user (and the linux administrator uid 0) can gain access.

Dominic


I've setup rdiff-backup to backup a windows computer. The backup always complete successfully, but the files created on the Linux servers are set to 0777. Security wise, it's very bad since everyone able to connect to the Linux server can see by files. I'm looking for a simpleway to make rdiff-backup create the files with a different permissions (e.g.: 0700 or 0770)


I've running a command similare to:

rdiff-backup.exe -v 5 --no-hard-links --exclude-symbolic-links --no-acls --remote-schema "plink.exe -2 -batch -i key.ppk %s rdiff-backup --server" --exclude-globbing-filelist my-excludes --include-globbing-filelist my-includes --exclude "C:/**" C:/ address@hidden::/home/ikus060/test-winxp-fr

 -----------------------------------------------------------------
 Detected abilities for source (read only) file system:
   Access control lists                         Off
   Extended attributes                          Off
   Windows access control lists                 Off
   Case sensitivity                             Off
   Escape DOS devices                           Off
   Escape trailing spaces                       Off
   Mac OS X style resource forks                Off
   Mac OS X Finder information                  Off
 -----------------------------------------------------------------
 POSIX ACLs test skipped. rdiff-backup run with --no-acls option.
 Windows ACLs test skipped. rdiff-backup run with --no-acls option.
 escape_dos_devices not required by filesystem at /home/ikus060/test-winxp-fr/rdiff-backup-data/rdiff-backup.tmp.0
 -----------------------------------------------------------------
 Detected abilities for destination (read/write) file system:
   Ownership changing                           Off
   Hard linking                                 On
   fsync() directories                          On
   Directory inc permissions                    On
   High-bit permissions                         On
   Symlink permissions                          Off
   Extended filenames                           On
   Windows reserved filenames                   Off
   Access control lists                         Off
   Extended attributes                          On
   Windows access control lists                 Off
   Case sensitivity                             On
   Escape DOS devices                           Off
   Escape trailing spaces                       Off
   Mac OS X style resource forks                Off
   Mac OS X Finder information                  Off
 -----------------------------------------------------------------

Thanks for your help.

--
Patrik Dufresne



_______________________________________________
rdiff-backup-users mailing list at address@hidden
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


reply via email to

[Prev in Thread] Current Thread [Next in Thread]