libsmbclient - setxattr sometimes corrupts conext

Derrell Lipman derrell.lipman at unwireduniverse.com
Thu Jan 10 12:57:06 GMT 2008


On Jan 10, 2008 7:15 AM, Henrik <henke at mac.se> wrote:
> BTW I've noticed that you can't change the MODE on files/folders to 0x00
> with smbc_setxattr. So there is no way of removing an attribute if you do
> not replace it. Is this also a bug or?
> If so, I'll post a new one.

Hmmm...  I think that a value of zero in this code means "don't change
this attribute".  OTOH, changing the mode to 0x00 doesn't remove an
attribute, it sets permissions for no access.  Maybe I'm not
understanding what you're trying to do, though.

Derrell


More information about the samba-technical mailing list