Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

"Invisible" dirs on Samba share

$
0
0
Here's the environment:
Debian Bookworm running on an HP Z600, with a static IP on a wireless LAN
Samba version 4.17.12-Debian

Here's the problem:
I have a share set up (named "shared" :roll: ) that I can access on my Win10 box. The problem is that not all of the dirs under that share will show up in Windows. I can create new dirs without issue, and copy files to them, but at some point they seem to randomly disappear, or not. Weird. :evil:

Here's a "dir" in Windows:

Code:

C:\Users\bob>y:Y:\>dir Volume in drive Y is shared Volume Serial Number is F5BA-DA4F Directory of Y:\03/14/2024  03:55 PM    <DIR>          .01/30/2024  02:07 PM    <DIR>          ..01/30/2024  01:19 PM    <DIR>          lost+found02/17/2024  10:23 AM    <DIR>          new03/14/2024  03:55 PM    <DIR>          Test               0 File(s)              0 bytes               5 Dir(s)  625,764,278,272 bytes freeY:\>
Here's the same dir on the Linux box:

Code:

root@z600:/share# ls -altotal 36drwxrwxrwx  6 root root  4096 Mar 14 15:55 .drwxr-xr-x 20 root root  4096 Jan 30 13:07 ..drwxr-xr-x  8 bob  bob   4096 Mar 11 09:12 archivedrwx------  2 root root 16384 Jan 30 12:19 lost+founddrwxr-xr-x  2 bob  bob   4096 Feb 17 09:23 newdrwxr-xr-x  3 bob  bob   4096 Mar 14 15:59 Testroot@z600:/share#
Here's my testparm output:

Code:

root@z600:/share# testparmLoad smb config files from /etc/samba/smb.confLoaded services file OK.Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)Server role: ROLE_STANDALONEPress enter to see a dump of your service definitions# Global parameters[global]        log file = /var/log/samba/log.%m        logging = file        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        server role = standalone server        unix password sync = Yes        usershare allow guests = Yes        idmap config * : backend = tdb[homes]        browseable = No        comment = Home Directories        create mask = 0700        directory mask = 0700        valid users = %S[printers]        browseable = No        comment = All Printers        create mask = 0700        path = /var/tmp        printable = Yes[print$]        comment = Printer Drivers        path = /var/lib/samba/printers[shared]        comment = shared dir on host        path = /share        read only = Noroot@z600:/share#
Any ideas would be appreciated!

Statistics: Posted by utabintarbo — 2024-03-14 20:08 — Replies 1 — Views 44



Viewing all articles
Browse latest Browse all 3474

Trending Articles