mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Samba permissions
This commit is contained in:
parent
9cad3f0994
commit
ac7effd170
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ done
|
||||||
# Fix Samba permissions
|
# Fix Samba permissions
|
||||||
[ -d /run/samba/msg.lock ] && chmod -R 0755 /run/samba/msg.lock
|
[ -d /run/samba/msg.lock ] && chmod -R 0755 /run/samba/msg.lock
|
||||||
[ -d /var/log/samba/cores ] && chmod -R 0700 /var/log/samba/cores
|
[ -d /var/log/samba/cores ] && chmod -R 0700 /var/log/samba/cores
|
||||||
|
[ -d /var/cache/samba/msg.lock ] && chmod -R 0755 /var/cache/samba/msg.lock
|
||||||
|
|
||||||
if ! smbd; then
|
if ! smbd; then
|
||||||
error "Samba daemon failed to start!"
|
error "Samba daemon failed to start!"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue