Dockerfile fix issue #35
This commit is contained in:
parent
ede06444a4
commit
17723a88ce
@ -11,9 +11,14 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
|
||||
sed -i 's|^\( unix password sync = \).*|\1no|' /etc/samba/smb.conf && \
|
||||
sed -i '/Share Definitions/,$d' /etc/samba/smb.conf && \
|
||||
echo ' security = user' >>/etc/samba/smb.conf && \
|
||||
echo ' directory mask = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' create mask = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' force create mode = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' security mask = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' force security mode = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' directory mask = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' force directory mode = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' directory security mask = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' force directory security mode = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' force user = smbuser' >>/etc/samba/smb.conf && \
|
||||
echo ' force group = users' >>/etc/samba/smb.conf && \
|
||||
echo ' load printers = no' >>/etc/samba/smb.conf && \
|
||||
|
@ -11,9 +11,14 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
|
||||
sed -i 's|^\( unix password sync = \).*|\1no|' /etc/samba/smb.conf && \
|
||||
sed -i '/Share Definitions/,$d' /etc/samba/smb.conf && \
|
||||
echo ' security = user' >>/etc/samba/smb.conf && \
|
||||
echo ' directory mask = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' create mask = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' force create mode = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' security mask = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' force security mode = 0664' >>/etc/samba/smb.conf && \
|
||||
echo ' directory mask = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' force directory mode = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' directory security mask = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' force directory security mode = 0775' >>/etc/samba/smb.conf && \
|
||||
echo ' force user = smbuser' >>/etc/samba/smb.conf && \
|
||||
echo ' force group = users' >>/etc/samba/smb.conf && \
|
||||
echo ' load printers = no' >>/etc/samba/smb.conf && \
|
||||
|
Loading…
Reference in New Issue
Block a user