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

Bug#574937: unison: ignores perms=0



On Mon, Mar 22, 2010 at 03:46:27PM +0100, Johannes Rohr wrote:
> Am 22.03.2010 15:02, schrieb Jerome Vouillon:
> > On Mon, Mar 22, 2010 at 11:37:59AM +0100, Johannes Rohr wrote:
> >> the latest version of unison ignores the perms=0 option. I see this
> >> when I try to sync a local dir with an smb share, where I cannot set
> >> any unix permṡ.
> >
> > The preference "perms=0" means that permissions should not be
> > propagated.  But Unison still sets the permissions of an updated file
> > based on the permissions of the previous version of the file, in order
> > to preserve file permissions.
> > (See https://bugs.launchpad.net/ubuntu/+source/unison/+bug/304453 )
> >
> > You now need to add "dontchmod=true" to your profile as well, if you
> > don't want Unison to use chmod at all.
> But has unison's behaviour changed? I have in the meantime downgraded
> to unison2.27.57, and here it works without that option.

Unison's behavior was changed in 2.27 to provide a workaround to the
chmod failure issue.  It has been reverted back in 2.32 and the
"dontchmod" preference has been added as a better workaround.

-- Jerome



Reply to: