Roy Eastwood
2020-Dec-01 14:30 UTC
[Samba] Strange logs: check_usershare_stat: file /var/lib/samba/usershares/ owned by uid 0 is not a regular file
These logs: Dec 1 09:31:16 lxd-m1 smbd[26323]: check_usershare_stat: file /var/lib/samba/usershares/ owned by uid 0 is not a regular file have started to appear this morning in sysvol. 25 such logs appeared within a minute. No changes have been made for some time on this machine. It's a member server running samba 4.13.2 on Debian Buster. Is this a known bug? Regards, Roy
Andrew Bartlett
2020-Dec-01 17:27 UTC
[Samba] Strange logs: check_usershare_stat: file /var/lib/samba/usershares/ owned by uid 0 is not a regular file
On Tue, 2020-12-01 at 14:30 +0000, Roy Eastwood via samba wrote:> These logs: > > Dec 1 09:31:16 lxd-m1 smbd[26323]: check_usershare_stat: > file /var/lib/samba/usershares/ owned by uid 0 is not a regular > file > > have started to appear this morning in sysvol. 25 such logs > appeared within a minute. No changes have been made for some time on > this machine. It's a member server running samba 4.13.2 on Debian > Buster. Is this a known bug?So first question: What is it? That is, Samba gives this error, so what does a manual shell inspection with ls -l and stat etc give? Usershare functionality is configured via your smb.conf. Andrew Bartlett -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba