--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unison: Fails to chown when trying to sync ownership
- From: Ferry Toth <ftoth@tiscali.nl>
- Date: Tue, 23 Sep 2008 23:08:51 +0200
- Message-id: <20080923210851.4883.62399.reportbug@delfion.local>
Package: unison
Version: 2.27.57-1+b1
Severity: normal
I am trying to sync over ssh as an ordinary user. The folders contain files with different owners, however I am always a
member of the group that has rw access to the files.
Since I want to sync owner/group/permission I have set owner = yes and group = yes in the profile. I have carefully
created user and group accounts on both machines, with identical numeric ids. Still I have set numericids = false, in
case of future mistakes.
Now when the ownership of a file is changed on one side, unison tries to chown the file on the other side - as intended.
However, since I am not the su the chown command fails.
I believe this is not the intended behavior when syncing file ownership.
Note: I have tried running sudo unison, but this fails because root does not have a certificate required to connect to
the remote ssh.
Proposed behavior: make unison perform a sudo chown and request a passwd from the user when needed.
Ferry
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages unison depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
Versions of packages unison recommends:
ii openssh-client [ssh-client] 1:5.1p1-2 secure shell client, an rlogin/rsh
unison suggests no packages.
-- no debconf information
--- End Message ---