neopolitan6
Dabbler
- Joined
- Sep 18, 2018
- Messages
- 13
Summary: I can't figure out what changed that my smb shares used to work fine, but today I get access denied.
I have various datasets and smb shares, mostly set up like this:
user "myuser" with group "myusergroup"
datasets: Media, MyFiles, BusinessFiles, NVR-Recordings
permissions for each dataset above: owner "nobody" group is "myusergroup" **more on this later
smb share for each desired dataset: Media, MyFiles, BusinessFiles, NVR-Recordings
*note: no one actually connects to the smb shares anymore except me, and some ubuntu servers noted below*
This was working fine until today. I had a Ubuntu server mounting an smb share for the NVR-Recordings, and another Ubuntu VM using Plex mounting the smb share for Media. I have a nextcloud plugin jail directly mounting BusinessFiles via a jail mount point.
As is my weekly custom, on Wednesdays I login to each Ubuntu machine and run apt update/upgrade. I went to FreeNAS plugin page and tried Update, got an error that file already exists.
I think, no worries just move on.
Well, later I noticed that nextcloud was not synced, and the web page for the nextcloud install gives an error.
After some rudimentary troubleshooting (my FreeNAS skills are beginner/low intermediate), I found that ALL my datasets now have root:wheel for ownership. I cannot recall exactly how I left them all, but definitely not that.
This seems easy to fix -- just go in and adjust the dataset ownership back to nobody:myusergroup. But it doesn't work. I tried making it recursive. myuser:myusergroup doesn't work either.
To make matters even more confusing for me, the NVR had lost access to the smb share; but now has it back. Nothing else works as it had yesterday (or this morning).
Where can I look now?
I have various datasets and smb shares, mostly set up like this:
user "myuser" with group "myusergroup"
datasets: Media, MyFiles, BusinessFiles, NVR-Recordings
permissions for each dataset above: owner "nobody" group is "myusergroup" **more on this later
smb share for each desired dataset: Media, MyFiles, BusinessFiles, NVR-Recordings
*note: no one actually connects to the smb shares anymore except me, and some ubuntu servers noted below*
This was working fine until today. I had a Ubuntu server mounting an smb share for the NVR-Recordings, and another Ubuntu VM using Plex mounting the smb share for Media. I have a nextcloud plugin jail directly mounting BusinessFiles via a jail mount point.
As is my weekly custom, on Wednesdays I login to each Ubuntu machine and run apt update/upgrade. I went to FreeNAS plugin page and tried Update, got an error that file already exists.
Code:
[Errno 17] File exists: '../var/run/log' - > '/mnt/iocage/jails/nextcloud/root/dev/log'
I think, no worries just move on.
Well, later I noticed that nextcloud was not synced, and the web page for the nextcloud install gives an error.
After some rudimentary troubleshooting (my FreeNAS skills are beginner/low intermediate), I found that ALL my datasets now have root:wheel for ownership. I cannot recall exactly how I left them all, but definitely not that.
This seems easy to fix -- just go in and adjust the dataset ownership back to nobody:myusergroup. But it doesn't work. I tried making it recursive. myuser:myusergroup doesn't work either.
To make matters even more confusing for me, the NVR had lost access to the smb share; but now has it back. Nothing else works as it had yesterday (or this morning).
Where can I look now?