`process_usershare_file`은 무엇을 합니까?

`process_usershare_file`은 무엇을 합니까?

각 공유에 대한 로그에 다음 정보를 제공하는 삼바 서버가 있습니다(이 경우 "공개"는 공유입니다).

Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.398065,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.398688,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.400642,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.401232,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.403194,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.403814,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.404843,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.bat failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.405536,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.bat failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.406666,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.cmd failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.407276,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.cmd failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.408284,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.exe failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.408987,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.exe failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.410125,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.com failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.410716,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.com failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.411692,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.pif failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.412420,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.pif failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.413585,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.lnk failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.414163,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.lnk failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.415144,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.dll failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.415857,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/public.dll failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.418115,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.418842,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.424562,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.427558,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.433017,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.436073,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. No such file or directory
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.441569,  0] param/loadparm.c:9114(process_usershare_file)
Sep  2 07:49:42 MyServer smbd[31606]:   process_usershare_file: stat of /var/lib/samba/usershares/publi failed. Permission denied
Sep  2 07:49:42 MyServer smbd[31606]: [2014/09/02 07:49:42.444667,  0] param/loadparm.c:9114(process_usershare_file)

내가 무엇을 해야 process_usershare_file하고 왜 실패하는지에 대한 아이디어가 있습니까?

편집: 나는 그것을 전혀 사용하지도 않습니다 /var/lib/usershare/. 왜 거기서 찾고 있는지 모르겠습니다.

답변1

간결한 버전:

클라이언트 컴퓨터는 MS Windows를 사용합니다.“윈도우 디펜더”활성화되었습니다.

스캔 프로세스는 로그 파일 스팸을 처리합니다…

확인: Windows Defender 검사가 클라이언트에서 실행된 날짜와 시간을 확인하고 SAMBA 로그와 비교하십시오.

답변2

~에서통계 매뉴얼 페이지:

설명하다

이 함수는 파일에 대한 정보를 반환합니다. 파일 자체에는 권한이 필요하지 않지만 stat() 및 lstat()의 경우 파일 경로에 있는 모든 디렉터리에 실행(검색) 권한이 필요합니다.

당신은 또한 볼 수 있습니다이 튜토리얼

기본 권한을 설정해야 한다고 생각합니다.


댓글에 답장하기:

공유는 "net usershare" 명령을 사용하여 뒤에서 정의되며 정의는 /var/lib/samba/usershares/에 저장됩니다. 따라서 이 방법을 사용하여 정의된 공유는 smb.conf에 표시되지 않습니다.

CLI를 사용하여 공유를 설정했습니까?

관련 정보