Hello. I try to create nfs-share (I used this guide [OpenWrt Wiki] Network File System (NFS)) with video files captured bt motion (Yes I could build motion with support of IP-Camera :-)) and all seems ok until I mount it on WIndows 10 PC with command like:
mount -o anon 192.168.5.1:/mnt/data R:
It is mounted successfully but I see no files cause folder is empty in Windows 10.
I created test file test.txt and suddenly I can see it! While all other files are invnsible to me. It is strange becasue according to ls -l command
root@OpenWrt:/mnt/data/ipcam$ ls -l
-rw-r--r-- 1 nobody nogroup 1043691 Oct 15 14:32 15-10-2025-14:29:52.mkv
-rw-r--r-- 1 nobody nogroup 5659253 Oct 15 14:37 15-10-2025-14:33:54.mkv
-rw-r--r-- 1 nobody nogroup 285411 Oct 15 14:40 15-10-2025-14:38:04.mkv
-rw-r--r-- 1 nobody nogroup 578255 Oct 15 14:47 15-10-2025-14:45:03.mkv
-rw-r--r-- 1 nobody nogroup 1579121 Oct 15 14:57 15-10-2025-14:53:53.mkv
-rw-r--r-- 1 nobody nogroup 99986 Oct 15 14:59 15-10-2025-14:57:33.mkv
-rw-r--r-- 1 nobody nogroup 4440717 Oct 15 15:03 15-10-2025-14:59:57.mkv
-rw-r--r-- 1 nobody nogroup 1267247 Oct 15 15:08 15-10-2025-15:03:21.mkv
-rw-r--r-- 1 nobody nogroup 584251 Oct 15 15:13 15-10-2025-15:10:37.mkv
-rw-r--r-- 1 nobody nogroup 602030 Oct 15 15:17 15-10-2025-15:14:39.mkv
-rw-r--r-- 1 nobody nogroup 1596801 Oct 15 15:25 15-10-2025-15:22:23.mkv
-rw-r--r-- 1 nobody nogroup 1673961 Oct 15 15:43 15-10-2025-15:40:17.mkv
-rw-r--r-- 1 nobody nogroup 3350785 Oct 15 15:56 15-10-2025-15:51:21.mkv
-rw-r--r-- 1 nobody nogroup 3535026 Oct 15 15:58 15-10-2025-15:55:59.mkv
-rw-r--r-- 1 nobody nogroup 563130 Oct 15 16:06 15-10-2025-16:03:35.mkv
-rw-r--r-- 1 nobody nogroup 2449897 Oct 15 16:23 15-10-2025-16:20:03.mkv
-rw-r--r-- 1 nobody nogroup 7119430 Oct 15 16:27 15-10-2025-16:23:09.mkv
-rw-r--r-- 1 nobody nogroup 11751203 Oct 15 16:36 15-10-2025-16:31:45.mkv
-rw-r--r-- 1 nobody nogroup 599312 Oct 15 16:40 15-10-2025-16:38:03.mkv
-rw-r--r-- 1 nobody nogroup 1639334 Oct 15 16:44 15-10-2025-16:41:22.mkv
-rw-r--r-- 1 nobody nogroup 1098851 Oct 15 16:47 15-10-2025-16:45:48.mkv
-rw-r--r-- 1 nobody nogroup 2408287 Oct 15 17:00 15-10-2025-16:57:00.mkv
-rw-r--r-- 1 nobody nogroup 2557973 Oct 15 17:17 15-10-2025-17:14:10.mkv
-rw-r--r-- 1 nobody nogroup 1333441 Oct 15 17:30 15-10-2025-17:28:26.mkv
-rw-r--r-- 1 nobody nogroup 2412477 Oct 15 17:35 15-10-2025-17:33:13.mkv
-rw-r--r-- 1 nobody nogroup 1075707 Oct 15 17:47 15-10-2025-17:45:25.mkv
-rw-r--r-- 1 root root 7709360 Oct 15 19:19 15-10-2025-19:17:29.mkv
-rw-r--r-- 1 root root 1078122 Oct 15 19:53 15-10-2025-19:51:44.mkv
-rw-r--r-- 1 root root 1646065 Oct 15 20:29 15-10-2025-20:27:05.mkv
-rw-r--r-- 1 root root 1144480 Oct 15 20:34 15-10-2025-20:31:57.mkv
-rw-r--r-- 1 root root 12708617 Oct 15 20:57 15-10-2025-20:55:27.mkv
-rw-r--r-- 1 root root 6414967 Oct 16 07:44 16-10-2025-07:42:23.mkv
-rw-r--r-- 1 root root 1164920 Oct 16 08:15 16-10-2025-08:13:53.mkv
-rw-r--r-- 1 root root 1099468 Oct 16 08:54 16-10-2025-08:52:11.mkv
-rw-r--r-- 1 root root 2381214 Oct 16 09:30 16-10-2025-09:28:06.mkv
-rw-r--r-- 1 root root 2519594 Oct 16 09:47 16-10-2025-09:45:12.mkv
-rw-r--r-- 1 root root 5788689 Oct 16 09:50 16-10-2025-09:48:17.mkv
-rw-r--r-- 1 root root 3494839 Oct 16 10:00 16-10-2025-09:57:29.mkv
-rw-r--r-- 1 root root 1569734 Oct 16 10:03 16-10-2025-10:00:55.mkv
-rw-r--r-- 1 root root 5078665 Oct 16 10:06 16-10-2025-10:03:11.mkv
-rw-r--r-- 1 root root 8215040 Oct 16 10:19 16-10-2025-10:15:57.mkv
-rw-r--r-- 1 root root 1109155 Oct 16 10:25 16-10-2025-10:23:07.mkv
-rw-r--r-- 1 root root 1178668 Oct 16 10:49 16-10-2025-10:47:42.mkv
-rw-r--r-- 1 root root 1123215 Oct 16 10:56 16-10-2025-10:54:39.mkv
-rw-r--r-- 1 root root 6393616 Oct 16 11:08 16-10-2025-11:05:41.mkv
-rw-r--r-- 1 root root 7991210 Oct 16 11:13 16-10-2025-11:08:46.mkv
-rw-r--r-- 1 root root 2285535 Oct 16 11:20 16-10-2025-11:17:47.mkv
-rw-r--r-- 1 root root 1096311 Oct 16 11:25 16-10-2025-11:23:02.mkv
-rw-r--r-- 1 root root 1148413 Oct 16 11:28 16-10-2025-11:26:35.mkv
-rw-r--r-- 1 root root 7092008 Oct 16 11:38 16-10-2025-11:33:48.mkv
-rw-r--r-- 1 root root 2854066 Oct 16 11:42 16-10-2025-11:38:13.mkv
-rw-r--r-- 1 root root 1341856 Oct 16 11:45 16-10-2025-11:43:16.mkv
-rw-r--r-- 1 root root 2253755 Oct 16 11:48 16-10-2025-11:45:27.mkv
-rw-r--r-- 1 root root 1088157 Oct 16 11:50 16-10-2025-11:48:26.mkv
-rw-r--r-- 1 root root 11969403 Oct 16 11:58 16-10-2025-11:55:28.mkv
-rw-r--r-- 1 root root 1379695 Oct 16 12:05 16-10-2025-12:03:11.mkv
-rw-r--r-- 1 root root 1673589 Oct 16 12:08 16-10-2025-12:06:09.mkv
-rw-r--r-- 1 root root 5756521 Oct 16 12:50 16-10-2025-12:46:39.mkv
-rw-r--r-- 1 root root 5865338 Oct 16 13:10 16-10-2025-13:06:12.mkv
-rw-r--r-- 1 root root 1080160 Oct 16 13:16 16-10-2025-13:14:14.mkv
-rw-r--r-- 1 root root 1076196 Oct 16 13:22 16-10-2025-13:20:50.mkv
-rw-r--r-- 1 root root 2357225 Oct 16 13:27 16-10-2025-13:23:54.mkv
-rw-r--r-- 1 root root 4787934 Oct 16 13:32 16-10-2025-13:28:24.mkv
-rw-r--r-- 1 root root 13574557 Oct 16 13:49 16-10-2025-13:45:35.mkv
-rw-r--r-- 1 root root 1173345 Oct 16 13:58 16-10-2025-13:56:55.mkv
-rw-r--r-- 1 root root 1180669 Oct 16 14:01 16-10-2025-13:59:25.mkv
-rw-r--r-- 1 root root 1421460 Oct 16 14:04 16-10-2025-14:02:44.mkv
-rw-r--r-- 1 root root 2513361 Oct 16 14:12 16-10-2025-14:10:09.mkv
-rw-r--r-- 1 root root 4716285 Oct 16 14:16 16-10-2025-14:13:22.mkv
-rw-r--r-- 1 root root 1145522 Oct 16 14:28 16-10-2025-14:26:18.mkv
-rw-r--r-- 1 root root 1181618 Oct 16 14:32 16-10-2025-14:30:10.mkv
-rw-r--r-- 1 root root 1091627 Oct 16 14:40 16-10-2025-14:38:09.mkv
-rw-r--r-- 1 root root 21788428 Oct 16 14:54 16-10-2025-14:51:19.mkv
-rw-r--r-- 1 root root 32363562 Oct 16 14:58 16-10-2025-14:54:46.mkv
-rw-r--r-- 1 root root 1124312 Oct 16 15:10 16-10-2025-15:08:22.mkv
-rw-r--r-- 1 root root 1198422 Oct 16 15:14 16-10-2025-15:12:27.mkv
-rw-r--r-- 1 root root 2636760 Oct 16 15:18 16-10-2025-15:14:41.mkv
-rw-r--r-- 1 root root 1071657 Oct 16 15:33 16-10-2025-15:31:52.mkv
-rw-r--r-- 1 root root 3663775 Oct 16 15:38 16-10-2025-15:35:36.mkv
-rw-r--r-- 1 root root 1190682 Oct 16 15:49 16-10-2025-15:47:49.mkv
-rw-r--r-- 1 root root 3436490 Oct 16 15:57 16-10-2025-15:53:03.mkv
-rw-r--r-- 1 root root 25889311 Oct 16 16:00 16-10-2025-15:57:52.mkv
-rw-r--r-- 1 root root 1136057 Oct 16 16:14 16-10-2025-16:12:02.mkv
-rw-r--r-- 1 root root 3167201 Oct 16 16:18 16-10-2025-16:16:39.mkv
-rw-r--r-- 1 root root 3337105 Oct 16 16:40 16-10-2025-16:37:02.mkv
-rw-r--r-- 1 root root 2002621 Oct 16 16:44 16-10-2025-16:41:23.mkv
-rw-r--r-- 1 root root 31493655 Oct 16 16:59 16-10-2025-16:56:01.mkv
-rw-r--r-- 1 root root 19703883 Oct 16 17:03 16-10-2025-16:59:01.mkv
-rw-r--r-- 1 root root 4872941 Oct 16 17:05 16-10-2025-17:03:21.mkv
-rw-r--r-- 1 root root 1145261 Oct 16 17:38 16-10-2025-17:36:33.mkv
-rw-r--r-- 1 root root 9 Oct 15 18:58 test.txt
all files have similar flags. You can also see some files owned by nobody:nogroup. It was my attempt to make them visible by changing their attributes. But it was no success and also I had no success with chmod -R 777 /mnt/data/ipcam
here is my /etc/exports
/mnt 192.168.5.0/24(fsid=0,ro,sync,no_subtree_check,all_squash)
/mnt/data 192.168.5.0/24(rw,sync,no_subtree_check,all_squash)root@OpenWrt:/mnt/data$
here is exportfs -v
/mnt 192.168.5.0/24(sync,wdelay,hide,no_subtree_check,fsid=0,sec=sys,ro,secure,root_squash,all_squash)
/mnt/data 192.168.5.0/24(sync,wdelay,hide,no_subtree_check,sec=sys,rw,secure,root_squash,all_squash)
I look through this guide exports(5): NFS server export table - Linux man page but with no success also. I wonder is it possible to solve this problem?
May be create user like nfsuser and map folder to him, then connect with this user credentials? Specify strictly secure protocol, like sec=krb5p? I just do not know why some files are visible, but other files do not.
Many thanks for any help!
UPD: I can now conclude that it is entirely Windows 10 fault (or windows 10 and nfs settings together for that matter) for I try to mount this share from Ubuntu with command like:
mount 192.168.5.1:/mnt/data/ipcam ~/jopa
and all files are visible! But Windows 10 has not many options for mounting…