Simple question on network Share Wiki guide
Posted: Sun Mar 03, 2019 9:34 pm
Greetings!
Just over a day now with ZoneMinder and I am loving it! I just finished following the guide https://wiki.zoneminder.com/Common_Issu ... ive_or_NAS on setting up "Systemd to Mount Internal Drive or NAS" and successfully mounted and started recording to NFS.
One question of the guide that didn't work for me was this section:
Make and Set Folder Permissions We've created our primary mount point, but we aren't done yet. First, let's create some folders and set the correct permissions:
I received errors when running the above:
I don't think this is an issue since when I mounted the share, the systemd file has this line:
I believe that already mounts the share with www-data as owner of the mount point? I verified it and sure enough www-data has all the correct permissions for the mount point:
Safe to assume this is configured correctly? Log shows nothing and recordings work fine.
Just over a day now with ZoneMinder and I am loving it! I just finished following the guide https://wiki.zoneminder.com/Common_Issu ... ive_or_NAS on setting up "Systemd to Mount Internal Drive or NAS" and successfully mounted and started recording to NFS.
One question of the guide that didn't work for me was this section:
Make and Set Folder Permissions We've created our primary mount point, but we aren't done yet. First, let's create some folders and set the correct permissions:
Code: Select all
mkdir -p /mnt/sdb1/zoneminder/events
mkdir -p /mnt/sdb1/zoneminder/images
chown -R www-data:www-data /mnt/sdb1/zoneminder
Code: Select all
chown: changing ownership of '/mnt/share/zoneminder/events': Permission denied
chown: changing ownership of '/mnt/MYSHARE/zoneminder/images': Permission denied
chown: changing ownership of '/mnt/MYSHARE/zoneminder': Permission denied
Code: Select all
Options=credentials=/root/.smbcredentials,uid=33,gid=33,rw
Code: Select all
drwxrwxr-x+ 4 www-data www-data zoneminder