The Samba-Bugzilla – Attachment 3862 Details for
Bug 6016
Alternate Data Streams / Extended Attributes seem to conflict
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
look (text/plain), 1.13 KB, created by
Jeremy Allison
on 2009-01-07 16:57:51 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-01-07 16:57:51 UTC
Size:
1.13 KB
patch
obsolete
>diff --git a/source/smbd/dosmode.c b/source/smbd/dosmode.c >index 88c6a51..69100bf 100644 >--- a/source/smbd/dosmode.c >+++ b/source/smbd/dosmode.c >@@ -198,13 +198,16 @@ static bool get_ea_dos_attribute(connection_struct *conn, const char *path,SMB_S > > sizeret = SMB_VFS_GETXATTR(conn, path, SAMBA_XATTR_DOS_ATTRIB, attrstr, sizeof(attrstr)); > if (sizeret == -1) { >-#if defined(ENOTSUP) && defined(ENOATTR) >- if ((errno != ENOTSUP) && (errno != ENOATTR) && (errno != EACCES) && (errno != EPERM)) { >+ if (errno == ENOSYS >+#if defined(ENOTSUP) >+ || errno == ENOTSUP) { >+#else >+ ) { >+#endif > DEBUG(1,("get_ea_dos_attributes: Cannot get attribute from EA on file %s: Error = %s\n", > path, strerror(errno) )); > set_store_dos_attributes(SNUM(conn), False); > } >-#endif > return False; > } > /* Null terminate string. */ >@@ -258,6 +261,8 @@ static bool set_ea_dos_attribute(connection_struct *conn, const char *path, SMB_ > #else > ) { > #endif >+ DEBUG(1,("set_ea_dos_attributes: Cannot set attribute EA on file %s: Error = %s\n", >+ path, strerror(errno) )); > set_store_dos_attributes(SNUM(conn), False); > } > return False;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6016
: 3862