client icon indicating copy to clipboard operation
client copied to clipboard

Sync Mac OS (HFS+) Extended Attributes

Open tsunagari opened this issue 13 years ago • 13 comments

Labels (previus mac os versions) or tags (Mac os Mavericks) shoud be sync so all computer can retrive files by labels or tags. capture decran 2013-11-13 a 19 25 32 capture decran 2013-11-13 a 19 26 05


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

tsunagari avatar Nov 13 '13 18:11 tsunagari

Actually all the extended attributes (see http://en.wikipedia.org/wiki/Extended_file_attributes) should be considered not only tags ....

matteocorti avatar Nov 22 '13 15:11 matteocorti

This seems still an issue? Is this going to be fixed?

jf87 avatar Jul 09 '14 13:07 jf87

@jf87 It's a new feature, not a bug, so there is nothing to fix. The issue is not assigned and not scheduled, so unless noone picks it up, there is no fixed date for this. It shouldn't be too hard, but we (the main developers) unfortunately have other priorities right now.

danimo avatar Jul 09 '14 13:07 danimo

@danimo I think the question of feature or bug depends on one's viewpoint ;-) I personally can't consider owncloud as sync solution for my documents if metadata is not synced as well and I guess I am not the only one like that. I might look into it if I find some time during the summer.

jf87 avatar Jul 09 '14 13:07 jf87

I agree with jf87. Syncing the extended attribute would be a great feature as some software (like Ciel an accounting software) doesn't work without them.

Rene33 avatar Aug 31 '14 08:08 Rene33

I am interested in this feature as well and I might do some work on it. I had a look at the codebase but since I didn't find any overview documents on how the sync client works, I found it hard to get started. I can see two possible solutions:

  1. probably super simple but might not be wanted and might not scale very well: you can use xattr to write metadata to a file:
  xattr -lrx . > .metadata

then sync the file and use xattr to set the metadata again. (You have to extract the values from the file/db and set it file-by-file). One could have one central file/db or one per directory or so. A diff would reveal the metadata changes that have to be applied.

  1. probably better: set the extended attributes in the same way as the other metadata directly while syncing, if possible.
  2. A combination of the two is also possible, I guess. E.g. use the xattr mechanism but use the csync db that already exists (if that's what's currently being used to record the sync state).

Can someone of the developers maybe give me short intro how the repo is structured and how the sync client works to get me started? Did I miss any documentation that is already available?

sehlen avatar Aug 04 '15 03:08 sehlen

This is an important feature, especially for Mac users.

Could we please start by specifying the protocol extensions needed for this feature? C.f. https://github.com/owncloud/client/issues/3199

moscicki avatar Dec 01 '16 20:12 moscicki

I am migrating a Mac user from Dropbox to Owncloud. Actually we noticed this issue ; if not solved, we will have to stay with Dropbox. Very simple : some software - like Sage in our case - uses extended attributes with their files. If these attributes are not kept, the files are synchronized but become totally unusable with the software. Concerning the debate bug vs feature, either Owncloud supports MacOS users and it is a bug, or it is a feature and you can not continue to state that Owncloud supports MacOS.

brunoc68 avatar Feb 03 '17 09:02 brunoc68

Brunoc68 is definitely right, ownCloud should sync extended attributes.

fablarosa avatar Jul 31 '17 14:07 fablarosa

+1, but i think its never going to happen since the issue was opened 4 years ago, a shame

adroste avatar Sep 22 '17 16:09 adroste

FYI this is what Dropbox syncs: https://help.dropbox.com/en-us/installs-integrations/sync-uploads/extended-attributes

guruz avatar Nov 10 '19 08:11 guruz

Any news on this? I use owncloud to sync directories between my Macs and this destroys, in addition to any custom icons, all Finder aliases, as the alias property is stored in com.apple.FinderInfo extended attribute. So I figure syncing extended attributes would be really important for a lot of users.

vkoechli avatar Oct 05 '21 08:10 vkoechli

Requires change on server side. Will not happen on server(s) and as a result not in the client -> close

DeepDiver1975 avatar Oct 21 '24 11:10 DeepDiver1975