pi@raspberrypi:~ $ ls -la total 128 drwxrwxrwx 20 pi pi 4096 Jun 24 18:46 . drwxr-xr-x 3 root root 4096 Sep 7 2017 ..
pi@raspberrypi:~ $ umount /mnt/CCTV/PiZero umount: /mnt/CCTV/PiZero: umount failed: Operation not permitted pi@raspberrypi:~ $ sudo umount /mnt/CCTV/PiZero pi@raspberrypi:~ $
Sorry I forgot to say that there was an entry for the test.txt in the PiZero directory, but not on the NAS as it returned denied permission