TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: ROBH
date: 2019-10-28 11:09:00
subject: Permissions problem

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

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.