Discussion:
[unison-users] Help request with permissions
bunk3m bunk3m@gmail.com [unison-users]
2018-07-04 18:28:10 UTC
Permalink
Hi.

After a recent (6 mo ago) server update, I've been struggling to figure
out how to stop the following errors. (The second file listed is the
server version.)

MB.xlsx
Clients A... : unchanged file modified on 2018-07-03 at 16:32:14
size 182176 unknown permissions
Current/I... : changed props modified on 2018-07-03 at 16:32:14
size 182176 unknown permissions


Qmail - Jul 3, 2018.rtf
Notationa... : unchanged file modified on 2018-07-03 at 16:32:55
size 825 unknown permissions
nvAlt : changed props modified on 2018-07-03 at 16:32:55
size 825 unknown permissions

My sync is set up with the server as the center of a star. I will sync
to and from my Macbook Pro [MBP] (HFS+/OSX Extended) and to and from an
Android tablet.

From the MBP I get these changed props even when no file has been
changed on either side. I have no problems that I can tell with the
server to Android tablet & back.

The server is running Centos 7.4. It has only Samba 4 running. I
suspect this is where the problem is as the previous server had Netatalk
running in addition to Samba so I had "rsrc = true".

In my profiles I removed "rsrc = true" since there is no Apple file
services anymore on the server. I have added "fat = true" to try to
preserve extended attributes.

What should I be trying to fix this? I'm trying to reduce or eliminate
all the lists of files showing changed props that haven't actually changed?

Thanks in advance for any suggestions and help.

PS I'm on digest. Please cc me directly when replying to the list.
Dawid Gosławski alkuzad@gmail.com [unison-users]
2018-07-04 19:53:00 UTC
Permalink
Hi bunk3m
It seems you misinterpet things. Unison is independent from any other
network sharing protocols, there is no difference if
server has FTP/SFTP/SMB running on it. It would only matter if unison
and other server would change files in same time.

`rsrc = true` is set by default if at least one replica is OSX, so your
Centos7<->MBP profile should have it.
Post by bunk3m ***@gmail.com [unison-users]
Hi.
After a recent (6 mo ago) server update, I've been struggling to figure
out how to stop the following errors. (The second file listed is the
server version.)
MB.xlsx
Clients A... : unchanged file modified on 2018-07-03 at 16:32:14
size 182176 unknown permissions
Current/I... : changed props modified on 2018-07-03 at 16:32:14
size 182176 unknown permissions
Qmail - Jul 3, 2018.rtf
Notationa... : unchanged file modified on 2018-07-03 at 16:32:55
size 825 unknown permissions
nvAlt : changed props modified on 2018-07-03 at 16:32:55
size 825 unknown permissions
My sync is set up with the server as the center of a star. I will sync
to and from my Macbook Pro [MBP] (HFS+/OSX Extended) and to and from an
Android tablet.
From the MBP I get these changed props even when no file has been
changed on either side. I have no problems that I can tell with the
server to Android tablet & back.
The server is running Centos 7.4. It has only Samba 4 running. I
suspect this is where the problem is as the previous server had Netatalk
running in addition to Samba so I had "rsrc = true".
In my profiles I removed "rsrc = true" since there is no Apple file
services anymore on the server. I have added "fat = true" to try to
preserve extended attributes.
What should I be trying to fix this? I'm trying to reduce or eliminate
all the lists of files showing changed props that haven't actually
changed?
Thanks in advance for any suggestions and help.
PS I'm on digest. Please cc me directly when replying to the list.
--
Pozdrawiam / Best regards
Dawid Gosławski
bunk3m bunk3m@gmail.com [unison-users]
2018-07-06 19:42:30 UTC
Permalink
Hi unison group!

Rant: For some reason I couldn't reply to the message so went to the
Yahoo group directly to make a reply. I've done two replies to Dawid's
suggestion but they haven't shown up anywhere in the Yahoo group or in
the history of the group. What's up with that? Apologies if you end up
with multiple replies to this topic sometime in the future.

Back to the topic ...

Thank you for your suggestion Dawid!

I tried "rsrc = true" and removed the "fat = true" and ran a test.

This didn't work. The GUI shows FAILED and following message:

Failed to set permissions of file FILENAME.doc to ???-r??r??: the
permissions was set to ???xr??r?? 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 0o1677 (or to 0 if you don't need to synchronize
permissions).

So I put both "rsrc = true" and "fat = true" in the profile.

This didn't work either. The GUI shows FAILED and following message:
FILENAME.docx
MBP... : changed props modified on 2018-03-28 at 18:13:27 size
36958 rw------- WXBN MSWD
Server... : changed props modified on 2017-07-30 at 20:55:03 size
36958 rwx------ WXBN MSWD

Now I'm really confused. Before upgrading the server, everything worked OK.

Any additional debugging suggestions appreciated.

Thanks in advance.

Loading...