Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Mac OS (HFS+) Extended Attributes #1159

Open
tsunagari opened this issue Nov 13, 2013 · 12 comments
Open

Sync Mac OS (HFS+) Extended Attributes #1159

tsunagari opened this issue Nov 13, 2013 · 12 comments

Comments

@tsunagari
Copy link

tsunagari commented Nov 13, 2013

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.

@matteocorti
Copy link

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

@jf87
Copy link

jf87 commented Jul 9, 2014

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

@danimo
Copy link
Contributor

danimo commented Jul 9, 2014

@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
Copy link

jf87 commented Jul 9, 2014

@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
Copy link

Rene33 commented Aug 31, 2014

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
Copy link

sehlen commented Aug 4, 2015

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
Copy link
Contributor

moscicki commented Dec 1, 2016

This is an important feature, especially for Mac users.

Could we please start by specifying the protocol extensions needed for this feature?
C.f. #3199

@brunoc68
Copy link

brunoc68 commented Feb 3, 2017

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
Copy link

Brunoc68 is definitely right, ownCloud should sync extended attributes.

@adroste
Copy link

adroste commented Sep 22, 2017

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

@guruz
Copy link
Contributor

guruz commented Nov 10, 2019

@vkoechli
Copy link

vkoechli commented Oct 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests