freeNAS system files: Check and repair default permissions

MachtniX

Cadet
Joined
Sep 20, 2019
Messages
1
Hi.
I recently updated to 11.3.
Made a mistake while updating so I had to roll back an older snapshot (was set back to 11.2 U3?) and updated again. First to 11.2 U7 then to 11.3. After all everything seemed to be fine again.
But then I noticed that my file shares were no more available and "SMB service failed to start".
What output do you get if you run the command smbd -i -d 3 (as root)?
... stated that there is an invalid ownership in the samba directory.

chown -R root:wheel /var/db/system/samba4
... did the trick for me. Samba-Server is now working.

But: After that I am now a bit uncertain if there are still messed up permissions in other parts of the system.

Question: Is it possible to check all system related files upon ownership and permissions??

Thanks :)
 
Top