Still having some weird Samba problems regarding sub-folders [SOLVED]

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
gene0915
Level 4
Level 4
Posts: 244
Joined: Sun Oct 26, 2014 7:52 pm

Still having some weird Samba problems regarding sub-folders [SOLVED]

Post by gene0915 »

UPDATE: Turned out I just needed to adjust the permissions on the shared folder to 775. Good to go!


Using a fresh (never frozen) copy of Mint 19/Cinnamon. All updates applied.

I recently made a post about not being able to browse out to a share via IP: viewtopic.php?f=90&t=275177

I thought the problem was solved by shortening the name (via removing the spaces). This did solve it, or so I thought. Here's the weird issue.

Going into \\192.168.1.5\marina resume would always fail, I remember getting a warning about the name is too long I think. When I renamed the share to just 'marinaresume', it worked. (\\192.168.1.5\marinaresume). I'm doing this from memory.... I think I even removed the space in the actual folder name as well, un-shared the folder then re-shared it. At this part in the story, everything seemed to work, I marked that thread as solved and went on with life.

This morning, I wanted to double check things and I came upon a new problem (which might have existed from the get go?)...... INSIDE \\192.168.1.5\marinaresume, there are sub-folders. \\marinaresume\cover letters, \\marinaresume\letters, \\marinaresume\bills, etc.

Once I'm in the main folder, no problem. However, if I go into a sub-folder, Windows 10 will give me an error about "Can't reach location, invalid parameter".
To fix this, I click on another shortcut.... \\192.168.1.5\pictures (which has tons of digital pictures divided into sub-folders for years/months) and click around for 2 seconds, back out and then I can go into \\192.168.1.5\marinaresume and go into any sub-folder without a single problem.

It's like going into \pictures, fixes SOMETHING then \marinaresume (and all sub-folders) work perfectly well.

I'm attaching a Samba log file for the Windows 10 PC I was using this morning, trying to access the share. Any ideas?

If it helps, the share is located on an MDADM array. I have about 10 other Samba shares on that same array and I'm 90% sure no other directories give me this problem, just \\marinaresume. (Will test this tonight and update my post accordingly.)

Code: Select all

[2018/08/09 07:47:18.123850,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 07:59:16.352608,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 07:59:16.357036,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 07:59:16.943898,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:16.945915,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.955346,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.969103,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:16.971102,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.973452,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.979939,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:16.981437,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.982752,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.983918,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.990452,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:16.992431,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.993935,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:16.995084,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.000742,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.002020,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.003307,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.005443,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.007006,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.008345,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.009947,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.011102,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.012730,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.013996,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.015492,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.016818,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.018420,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.019725,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.021061,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.023020,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.024267,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.025427,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.026680,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.027796,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.029253,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.030507,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.033416,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.035024,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.036302,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.038189,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.039334,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.040819,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. Permission denied
[2018/08/09 07:59:17.042026,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.043305,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.044703,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.045867,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marina resume failed. No such file or directory
[2018/08/09 07:59:17.627702,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 07:59:17.691027,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 07:59:17.721435,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 07:59:57.884326,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 07:59:59.074329,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 07:59:59.102031,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 07:59:59.248759,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:00.178474,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:00.335645,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:01.089984,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:01.119957,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.045356,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.223789,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.300576,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.321263,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.322002,  0] ../lib/util/fault.c:78(fault_report)
  ===============================================================
[2018/08/09 08:00:03.322043,  0] ../lib/util/fault.c:79(fault_report)
  INTERNAL ERROR: Signal 11 in pid 3458 (4.7.6-Ubuntu)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2018/08/09 08:00:03.322071,  0] ../lib/util/fault.c:81(fault_report)
  ===============================================================
[2018/08/09 08:00:03.322090,  0] ../source3/lib/util.c:815(smb_panic_s3)
  PANIC (pid 3458): internal error
[2018/08/09 08:00:03.324879,  0] ../source3/lib/util.c:926(log_stack_trace)
  BACKTRACE: 30 stack frames:
   #0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1f) [0x7f15e41c79cf]
   #1 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f15e41c7aa0]
   #2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) [0x7f15e62b05af]
   #3 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(+0x197c6) [0x7f15e62b07c6]
   #4 /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f15e6721890]
   #5 /lib/x86_64-linux-gnu/libc.so.6(+0x18e5a1) [0x7f15e2b8d5a1]
   #6 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(push_ucs2_talloc+0x1e) [0x7f15e62a94fe]
   #7 /usr/lib/x86_64-linux-gnu/samba/libcliauth.so.0(E_md4hash+0x20) [0x7f15e4cc9290]
   #8 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(create_volume_objectid+0x3a) [0x7f15e5ea268a]
   #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0xcfa1a) [0x7f15e5e24a1a]
   #10 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smb2_ioctl_filesys+0x1fd) [0x7f15e5ef915d]
   #11 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_process_ioctl+0x50c) [0x7f15e5ef88fc]
   #12 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch+0xc2c) [0x7f15e5eea2dc]
   #13 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch_immediate+0x4f) [0x7f15e5eea85f]
   #14 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_immediate+0xd4) [0x7f15e2df51a4]
   #15 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x9cfb) [0x7f15e2df9cfb]
   #16 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x8357) [0x7f15e2df8357]
   #17 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f15e2df47cd]
   #18 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f15e2df49eb]
   #19 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x82f7) [0x7f15e2df82f7]
   #20 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x718) [0x7f15e5edad78]
   #21 /usr/sbin/smbd(+0xcfcc) [0x561223045fcc]
   #22 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x9ed0) [0x7f15e2df9ed0]
   #23 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x8357) [0x7f15e2df8357]
   #24 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f15e2df47cd]
   #25 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f15e2df49eb]
   #26 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x82f7) [0x7f15e2df82f7]
   #27 /usr/sbin/smbd(main+0x1d0a) [0x56122304134a]
   #28 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f15e2a20b97]
   #29 /usr/sbin/smbd(_start+0x2a) [0x56122304145a]
[2018/08/09 08:00:03.325137,  0] ../source3/lib/util.c:827(smb_panic_s3)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 3458]
[2018/08/09 08:00:03.331235,  0] ../source3/lib/util.c:835(smb_panic_s3)
  smb_panic(): action returned status 0
[2018/08/09 08:00:03.331395,  0] ../source3/lib/dumpcore.c:318(dump_core)
  coredump is handled by helper binary specified at /proc/sys/kernel/core_pattern[2018/08/09 08:00:03.554962,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.631356,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.643266,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.696830,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:03.826408,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:04.090419,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:04.232565,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:05.384503,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:05.434917,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:05.466115,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:07.036361,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:07.087926,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:07.107154,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:07.114614,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:08.541791,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:08.588522,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:09.836510,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:09.853204,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:09.876888,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:10.128811,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:10.204737,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:11.105223,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:11.126983,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:11.348968,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:11.776388,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:11.804528,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:12.020102,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:12.409142,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:12.439840,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:12.759311,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:13.809852,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:13.841611,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:14.045198,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:15.980586,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:16.015810,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:16.045217,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:16.156703,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:16.186719,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:16.219324,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:16.655720,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:16.674194,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:16.703354,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:17.185808,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:17.213727,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:17.244484,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:17.262686,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:18.014116,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:18.056676,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinabackup failed. Permission denied
[2018/08/09 08:00:20.379646,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:20.631808,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:20.711062,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:21.876460,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:21.906160,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:22.063920,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:23.514644,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:23.569990,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:23.591006,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:23.599318,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:24.508576,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:24.537796,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:24.697913,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:26.487853,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:26.530869,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:26.547275,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:26.576524,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:28.812086,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:28.840122,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:29.006609,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:30.762125,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:30.808138,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:30.826094,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:30.837186,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:32.013613,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:32.042915,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:32.177401,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:33.629034,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:33.675697,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
[2018/08/09 08:00:33.693909,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/pictures failed. Permission denied
[2018/08/09 08:00:33.702502,  0] ../source3/param/loadparm.c:3350(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/marinaresume failed. Permission denied
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
altair4
Level 20
Level 20
Posts: 11461
Joined: Tue Feb 03, 2009 10:27 am

Re: Still having some weird Samba problems regarding sub-folders

Post by altair4 »

Please post the output of the following commands:

Code: Select all

testparm -s

Code: Select all

net usershare info --long
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
gene0915
Level 4
Level 4
Posts: 244
Joined: Sun Oct 26, 2014 7:52 pm

Re: Still having some weird Samba problems regarding sub-folders

Post by gene0915 »

altair4 wrote: Thu Aug 09, 2018 11:26 am Please post the output of the following commands:

Code: Select all

testparm -s

Code: Select all

net usershare info --long
Here you go good sir:

Code: Select all

gene@server-pc:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
	dns proxy = No
	domain master = Yes
	log file = /var/log/samba/log.%m
	map to guest = Bad User
	max log size = 1000
	obey pam restrictions = Yes
	pam password change = Yes
	panic action = /usr/share/samba/panic-action %d
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	passwd program = /usr/bin/passwd %u
	preferred master = Yes
	server role = standalone server
	server string = %h server (Samba, Ubuntu)
	syslog = 0
	unix password sync = Yes
	usershare allow guests = Yes
	idmap config * : backend = tdb
	force group = gene
	force user = gene


[printers]
	browseable = No
	comment = All Printers
	create mask = 0700
	path = /var/spool/samba
	printable = Yes


[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
And the other one

Code: Select all

gene@server-pc:~$ net usershare info --long
[marinaresume]
path=/mnt/md0/marinaresume
comment=
usershare_acl=Everyone:F,
guest_ok=y

[Pictures]
path=/mnt/md0/Pictures
comment=
usershare_acl=Everyone:R,Unix User\gene:F,
guest_ok=y

[marinabackup2]
path=/mnt/md0/marina backup 2
comment=
usershare_acl=Everyone:F,
guest_ok=y

[marinabackup]
path=/mnt/md0/marina backup
comment=
usershare_acl=Everyone:F,
guest_ok=y

[ally backup]
path=/mnt/md0/ally backup
comment=
usershare_acl=Everyone:F,
guest_ok=y

[crap]
path=/mnt/md0/crap
comment=
usershare_acl=Everyone:F,
guest_ok=y

gene@server-pc:~$ 
The only thing I changed from yesterday when I posted this until now is remoted into my server and just now added the 'force user = gene' and 'force group = gene' (so all files dumped on the shares will belong to my user/group). When I get home, I'll restart SMB and try things again.
altair4
Level 20
Level 20
Posts: 11461
Joined: Tue Feb 03, 2009 10:27 am

Re: Still having some weird Samba problems regarding sub-folders

Post by altair4 »

I don't see anything wrong there as long as the permissions of the shared folder and everything under it allow it. I'm talking about Linux permissions here.
[marinaresume]
path=/mnt/md0/marinaresume
comment=
usershare_acl=Everyone:F,
guest_ok=y
For that to work /mnt/md0/marinaresume has to have permissions of 777 and all of it's subfolders have to have the same. "force user = gene" is an alternative as long as everything in the shared folder is owned by gene.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
gene0915
Level 4
Level 4
Posts: 244
Joined: Sun Oct 26, 2014 7:52 pm

Re: Still having some weird Samba problems regarding sub-folders

Post by gene0915 »

altair4 wrote: Thu Aug 09, 2018 1:47 pm I don't see anything wrong there as long as the permissions of the shared folder and everything under it allow it. I'm talking about Linux permissions here.
[marinaresume]
path=/mnt/md0/marinaresume
comment=
usershare_acl=Everyone:F,
guest_ok=y
For that to work /mnt/md0/marinaresume has to have permissions of 777 and all of it's subfolders have to have the same. "force user = gene" will fix that as long as everything in the shared folder is owned by gene.
Hahahha....funny you should mention that. When I logged onto my server to carry out your steps a few minutes ago, I did a chown -R 775 /mnt/md0 to fix an issue with Plex not picking up some TV episodes. I went ahead and swept through the entire array. I was going to do 777 but thought better of it. I'll check the permissions on the files/folders inside that dir when I get home to see what they are.

It's still weird though that to fix things, I just needed to pop into the \pictures folder and go into a sub-folder or two, click around and then back out of there and go into the \marinaresume folder all my problems disappeared.

Every reboot of that Win 10 box, that's what I had to do to allow browsing into the \marinaresume sub-folders.

I'll experiment with file/folder permission on that directory from the Linux side then adjust accordingly and reboot the Win 10 box to see if the problem disappears.

Heck, if 777'ing that folder fixes it, I'll sweep through the array again with -R 777 :)
gene0915
Level 4
Level 4
Posts: 244
Joined: Sun Oct 26, 2014 7:52 pm

Re: Still having some weird Samba problems regarding sub-folders

Post by gene0915 »

altair4 wrote: Thu Aug 09, 2018 1:47 pm I don't see anything wrong there as long as the permissions of the shared folder and everything under it allow it. I'm talking about Linux permissions here.
[marinaresume]
path=/mnt/md0/marinaresume
comment=
usershare_acl=Everyone:F,
guest_ok=y
For that to work /mnt/md0/marinaresume has to have permissions of 777 and all of it's subfolders have to have the same. "force user = gene" is an alternative as long as everything in the shared folder is owned by gene.
You were right, it was a permission problem with the share! I used 775 and the share is completely accessible from Win 7/10 boxes now, including all sub-folders! Thank you!
Locked

Return to “Beginner Questions”