[prev in list] [next in list] [prev in thread] [next in thread] 

List:       unison-users
Subject:    Re: [unison-users] Ignoring File Props?
From:       Jason Viers <lists () beanalby ! net>
Date:       2005-12-05 17:08:15
Message-ID: 439473FF.90607 () beanalby ! net
[Download RAW message or body]

Calexicoz wrote:
 >     Is it possible to ignore the properties on a file that's being
 >     synchronized?
 >
 > Yes, just put perms = 0 in your profile.

I've heard this but it has never worked for me.  The following is the 
contents of unisonTest.prf:

------------------------
root = /home/ninji/unisonTest
root = /mnt/beanalbyE/backup/unisonTest
perms = 0
-------------------------

/home/ninji/unisonTest is a normal dir, /mnt/beanalbyE is a mounted 
samba share.  Both folders contain 'a.txt', and /home/ninji/unisonTest 
has a newly created 'b.txt'.  Running Unison gives the following:

---------------------------------
ninji@paperweight ~ $ unison unisonTest
Contacting server...
Looking for changes
Reconciling changes

ninji/uni...   backup/un...
new file ---->            b.txt  [f] f

Proceed with propagating updates? [] y
Propagating updates


UNISON started propagating changes at 11:59:37 on 05 Dec 2005
[BGN] Copying b.txt
   from /home/ninji/unisonTest
   to /mnt/beanalbyE/backup/unisonTest
Failed: Error in setting permissions:
Operation not permitted 
[chmod(/mnt/beanalbyE/backup/unisonTest/.#b.txt.9b1579ea2f7e9809e9cb93f72a5647d3.unison.tmp)]
100%  00:00 ETAFailed [b.txt]: Error in setting permissions:
Operation not permitted 
[chmod(/mnt/beanalbyE/backup/unisonTest/.#b.txt.9b1579ea2f7e9809e9cb93f72a5647d3.unison.tmp)]
UNISON finished propagating changes at 11:59:37 on 05 Dec 2005


Saving synchronizer state
Synchronization incomplete  (0 items transferred, 0 skipped, 1 failure)
   failed: b.txt
ninji@paperweight ~ $
------------------

Running with "-debug all" verifies that perms is being set to 0 
properly.  Any idea what's going on?

Thanks
Jason


------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/26EolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic