On the Pi 4 with xeoma, the directories or folders have been created under /mnt , and I have a line in fstab to mount them. mount -a mounts the said directories.
//192.168.0.22/CCTV/xeoma /mnt/CCTV/xeoma cifs credentials=/home/pi/.smbclient, uid=pi 0 0
Now in xeoma, I am getting this error message:
Archive is not being recorded! Failed to create the directory for the archive (/mnt/CCTV/xeoma)
Back to the Pi4 to check permissions.
pi@raspberrypi:/mnt $ ls -la total 0 drwxr-xr-x 1 root root 60 Oct 26 10:24 . drwxr-xr-x 1 root root 160 Jan 1 1970 .. drwxrwxrwx 1 pi root 60 Oct 26 10:24 CCTV
Then I changed owner, which was as above pi@raspberrypi:/mnt/CCTV $ sudo chgrp pi xeoma pi@raspberrypi:/mnt/CCTV $ ls -la total 0 drwxrwxrwx 1 pi pi 60 Oct 26 10:24 . drwxr-xr-x 1 root root 60 Oct 26 10:24 .. drwxr-xr-x 2 pi root 0 Oct 28 10:30 xeoma pi@raspberrypi:/mnt $ sudo chown pi CCTV pi@raspberrypi:/mnt $ ls -la total 0 drwxr-xr-x 1 root root 60 Oct 26 10:24 . drwxr-xr-x 1 root root 160 Jan 1 1970 .. drwxrwxrwx 1 pi root 60 Oct 26 10:24 CCTV
Then changed group:
pi@raspberrypi:/mnt $ sudo chgrp pi CCTV pi@raspberrypi:/mnt $ ls -la total 0 drwxr-xr-x 1 root root 60 Oct 26 10:24 . drwxr-xr-x 1 root root 160 Jan 1 1970 .. drwxrwxrwx 1 pi pi 60 Oct 26 10:24 CCTV
I then tried the same with the /mnt/CCTV/xeoma directory, but no change when changing the group
pi@raspberrypi:/mnt/CCTV $ sudo chgrp pi xeoma pi@raspberrypi:/mnt/CCTV $ ls -la total 0 drwxrwxrwx 1 pi pi 60 Oct 26 10:24 . drwxr-xr-x 1 root root 60 Oct 26 10:24 .. drwxr-xr-x 2 pi root 0 Oct 28 10:30 xeoma
Still xeoma is complaining about not been able to create the directory.
Have I missed something