Maintainer: @Andy2244
Environment: TP-Link Archer A7 V5 19.7.3
Original post: openwrt/packages#12933 (comment)
I am using ksmbd-server 3.2.1-1 to access the openwrt router's filesystem from windows.
Sharing appears to work, the file content is accessible but the filesizes reported to windows are 0 bytes.
This prevents certain tools from working (sqlite3)
In 10/2025 on a new openwrt device the problem still occurs:
**************** ON WINDOWS CLIENT ************
λ dir \192.168.4.1\share
Volume in drive \192.168.4.1\share is share
Volume Serial Number is B3E4-A214
Directory of \192.168.4.1\share
29/10/2025 11:43
.
29/10/2025 11:41 ..
0 File(s) 0 bytes
2 Dir(s) 141.373.440 bytes free
λ type \192.168.4.1\share\testfile.txt
test
**************** ON WRT DEVICE ************
root@wlanAsusAx:/share# ls -la
drwxr-xr-x 2 root root 232 Oct 29 11:43 .
drwxr-xr-x 1 root root 672 Oct 29 11:41 ..
-rw-r--r-- 1 root root 5 Oct 29 11:43 testfile.txt
Installed versions:
ksmbd-server | 3.5.3-1 | 125.08 KiB |
kmod-fs-ksmbd | 5.15.167-1 | 105.97 KiB |
luci-app-ksmbd | git-25.222.75657-7ce34fe | 2.83 KiB |
Maintainer: @Andy2244
Environment: TP-Link Archer A7 V5 19.7.3
Original post: openwrt/packages#12933 (comment)
In 10/2025 on a new openwrt device the problem still occurs:
**************** ON WINDOWS CLIENT ************
λ dir \192.168.4.1\share
Volume in drive \192.168.4.1\share is share
Volume Serial Number is B3E4-A214
Directory of \192.168.4.1\share
29/10/2025 11:43
.
29/10/2025 11:41 ..
0 File(s) 0 bytes
2 Dir(s) 141.373.440 bytes free
λ type \192.168.4.1\share\testfile.txt
test
**************** ON WRT DEVICE ************
root@wlanAsusAx:/share# ls -la
drwxr-xr-x 2 root root 232 Oct 29 11:43 .
drwxr-xr-x 1 root root 672 Oct 29 11:41 ..
-rw-r--r-- 1 root root 5 Oct 29 11:43 testfile.txt
Installed versions:
ksmbd-server | 3.5.3-1 | 125.08 KiB |
kmod-fs-ksmbd | 5.15.167-1 | 105.97 KiB |
luci-app-ksmbd | git-25.222.75657-7ce34fe | 2.83 KiB |