summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-09-25 00:05:26 +0000
committerJeremy Allison <jra@samba.org>2001-09-25 00:05:26 +0000
commitbe6023b2fb65e3aa0742b2731c0c2827f9983dc8 (patch)
treeda163d1011710a6915a4cba4b871cf5e186cd2ef
parentabaa4ab96a192047a7f8ff6fa579f723a7b4912e (diff)
downloadsamba-be6023b2fb65e3aa0742b2731c0c2827f9983dc8.tar.gz
samba-be6023b2fb65e3aa0742b2731c0c2827f9983dc8.tar.bz2
samba-be6023b2fb65e3aa0742b2731c0c2827f9983dc8.zip
Log sys_acl_set_XX at level 2 not zero.
Jeremy. (This used to be commit 4a54a633c59a18b387427e89266e294bdddf8574)
-rw-r--r--source3/smbd/posix_acls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 64dd51f193..d42b11cb83 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -1719,14 +1719,14 @@ static BOOL set_canon_ace_list(files_struct *fsp, canon_ace *the_ace, BOOL defau
if(default_ace || fsp->is_directory || fsp->fd == -1) {
if (sys_acl_set_file(fsp->fsp_name, the_acl_type, the_acl) == -1) {
- DEBUG(0,("set_canon_ace_list: sys_acl_set_file type %s failed for file %s (%s).\n",
+ DEBUG(2,("set_canon_ace_list: sys_acl_set_file type %s failed for file %s (%s).\n",
the_acl_type == SMB_ACL_TYPE_DEFAULT ? "directory default" : "file",
fsp->fsp_name, strerror(errno) ));
goto done;
}
} else {
if (sys_acl_set_fd(fsp->fd, the_acl) == -1) {
- DEBUG(0,("set_canon_ace_list: sys_acl_set_file failed for file %s (%s).\n",
+ DEBUG(2,("set_canon_ace_list: sys_acl_set_file failed for file %s (%s).\n",
fsp->fsp_name, strerror(errno) ));
goto done;
}