owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 665 forks source link

Sync Mac OS (HFS+) Extended Attributes #1159

Closed tsunagari closed 1 month ago

tsunagari commented 11 years ago

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!](https://www.bountysource.com/issues/1384506-sync-mac-os-hfs-extended-attributes?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github).
matteocorti commented 11 years ago

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

jf87 commented 10 years ago

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

danimo commented 10 years ago

@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.

jf87 commented 10 years ago

@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.

Rene33 commented 10 years ago

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.

sehlen commented 9 years ago

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?

moscicki commented 8 years ago

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

brunoc68 commented 7 years ago

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.

fablarosa commented 7 years ago

Brunoc68 is definitely right, ownCloud should sync extended attributes.

adroste commented 7 years ago

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

guruz commented 5 years ago

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

vkoechli commented 3 years ago

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.

DeepDiver1975 commented 1 month ago

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