Crash on Start
anonhostpi opened this issue · comments
Blue Falcon commented
this docker crashes on start.
Logs:
invalid permissions on directory '/var/log/samba/cores': has 0777 should be 0700
Failed to create /var/log/samba/cores for user 0 with mode 0700
Unable to setup corepath for smbd: File exists
smbd version 4.12.2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
invalid permissions on directory '/var/cache/samba/msg.lock': has 0777 should be 0755
Blue Falcon commented
My docker data directory was located on an NTFS drive. The problem was this:
https://askubuntu.com/questions/11840/how-do-i-use-chmod-on-an-ntfs-or-fat32-partition
added the permissions
mount option in Ubuntu Gnome Disk Utility, chmod -R 755
my entire Docker data directory, and rebooted host.
I am now good to go. Sharing so others can see.
EDIT (WARNING): adding the permissions
mount option supposedly works with Windows, but can cause some very funky behavior. Best practice is to keep linux NTFS drives and windows NTFS drives on their prospective system.