diff options
author | Jeremy Allison <jra@samba.org> | 2006-04-08 05:09:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:55 -0500 |
commit | 7769b678f22d8ab4aa8aef55966813355bf2ce6d (patch) | |
tree | 146caf3fd8309f1eef9008ea5bcd326f94d58cc0 /source/smbd | |
parent | c88af597d042390ff11b26fe802b0b10d0faa6ce (diff) | |
download | samba-7769b678f22d8ab4aa8aef55966813355bf2ce6d.tar.gz |
r14989: Fix from Mathias Dietz <MDIETZ@de.ibm.com>. EPERM can be
a valid return from getting an xattr. Don't disable if
we get it.
Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r-- | source/smbd/dosmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/dosmode.c b/source/smbd/dosmode.c index f376de1343d..583b3f19e76 100644 --- a/source/smbd/dosmode.c +++ b/source/smbd/dosmode.c @@ -222,7 +222,7 @@ 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)) { + if ((errno != ENOTSUP) && (errno != ENOATTR) && (errno != EACCES) && (errno != EPERM)) { 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); |