[Samba] Strange logs from smbd
Rowland Penny
rpenny at samba.org
Thu Dec 2 22:09:54 UTC 2021
On Thu, 2021-12-02 at 22:01 +0000, spindles seven via samba wrote:
> On 02 December 2021 18:17 Patrick Goetz wrote:
> > This looks like a btrfs issue -- what makes you think it's a samba
> > issue?
>
> Because smbd is reporting the log, so it's probably in the vfs_btrfs
> module, which is part of the samba suite.
It might be smbd that is reporting the error, but it is coming from
this block of code:
fd = open(p, O_RDONLY);
if (fd == -1) {
DBG_ERR("/proc open of %s failed: %s\n", p, strerror(errno));
return map_nt_error_from_unix(errno);
}
It looks to myself that Samba is trying to open a file, but the
permissions on that file do not allow it.
Rowland
More information about the samba
mailing list