Add support for extended atributes
ATM Owncloud does not know about attributes like hidden or read-only. If we would have some attributes we could answer more easily to several feature requests.
Lets say we have a: -hidden atrribute, we could solve #2589 and #8438 for any OS -No-auto-sync, would be easy for handling #7234, #7234 and #6760 -No-share, we could work on #7272 -Read-only, nice to protect some files in a R/W-share
There are lots of ways how to implement, all with there own ad and disadvantages.
- using native file attributes mappings
- using tables in database
- using encoding in the filenames
The last one might not be a very elegant way but would be "fairly easy" to implement with low cost on speed. As long as we control the interfaces this would work with only minor drawbacks. I guess the biggest drawback would be direct file-access but it could also be easy to turn on and off for the purists among us (by a nice little switch ;-)
@PVince81 @jancborchardt
Probably this was proposed before but I could not find an issue on it.
cc'ing @DeepDiver1975 @danimo as well.
I guess this is more a general strategy discussion for some core devs. Nevertheless I found the topic interesting and collected some data about the support of extended file attributes and file name lengths in the different backends.
The results I put in a gist which by far isn't complete.
In general a combination of 1 and 2 seems the way to go since filenames seem not to offer enough space for encoding all those attributes.