Package: unison Version: 2.40.65-2 Severity: wishlist Part of my use case for unison is to keep my home directories in sync between my laptop and my desktop machine. The desktop has a few Samba mounts integrated into the hierarchy, the idea being that the laptop gets an offline copy on sync. This works very well, especially thanks to the follow and mountpoint keywords.
Unfortunately, the Samba server enforces 0660 permissions, while I have a umask of 0027 on the laptop. Therefore, when I create a file on the laptop within one of the "offline-Samba" folders and then sync it with the desktop, it fails: Failed [foo/bar/43_baz.pdf]: Failed to set permissions of file /home/madduck/foo/bar/.unison.43_baz.pdf.05c1c66347c165b5225f4fbfb54cf19c.unison.tmp to rw-r-----: the permissions was set to rw-rw---- instead. The filesystem probably does not support all permission bits. If this is a FAT filesystem, you should set the "fat" option to true. Otherwise, you should probably set the "perms" option to 0o1757 (or to 0 if you don't need to synchronize permissions). I don't want to excluse permissions-syncing from the whole sync, so what I am missing is a way to say, e.g. subdir_option = Path foo/bar perms = 0 which is one way to limit certain preferences to a subdirectory. Another method might extend the mountpoint keyword: mountpoint = foo/bar fat which would turn on the FAT option for the mountpoint. Thanks, -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.5-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages unison depends on: ii libc6 2.13-35 Versions of packages unison recommends: ii openssh-client [ssh-client] 1:6.0p1-3 Versions of packages unison suggests: pn unison-all <none> -- no debconf information -- .''`. martin f. krafft <madduck@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)