(Let's chat on the mailing list; I don't always respond to direct mail, get too much and all that.) That's a weird rule... Does it make sense for this to be hidden in the xattr library? Perhaps not... I kinda hate to so this on OS X just because Linux is weird. -wsv On Sep 9, 2006, at 9:52 AM, Vincent Kraeutler wrote:
wilfredo,
just stumbled across what looks like a minor issue with xattrs on linux: it seems that when writing xattrs, normal users are _required_ (at least on ext2/ext3) to prefix all attribute names with "user.". i.e. it is not possible to carry out
import xattr xx = xattr.xattr("testFile") xx["foo"] = "bar"
while
xx["user.foo"] = "bar"
works. if that is indeed the case, i would be tempted to suggest prefixing twisted.web2.dav.xattrprops.xattrPropertyStore.deadPropertyXattrPrefix with "user.", i.e. replace "WebDAV:" with "user.WebDAV:" to enhance portability.
i hope i am making sense.
kind regards, v.