twitter facebook

Samba で隠しファイル(.htaccessなど)を表示する

vi /etc/samba/smb.conf
global セクションに hide dot files = no を追加して。Sambaをリスタート。
smb.conf
[global]

	hide dot files = no
Sambaのリスタート
service smb restart service nmb restart

おまけ

Intel NUC に CentOS7 をインストールし、Web開発用に設定した際は こんな感じにしました。
[global]
        workgroup = WORKGROUP
        server string = HOGEHOGE Version %v
        netbios name = HOGEHOGE

        security = user
        encrypt passwords = Yes
        unix password sync = yes

        #passdb backend = tdbsam
        dos charset = CP932
        wins support = yes

        #printing = cups
        #printcap name = cups
        load printers = no
        disable spoolss = yes
        #cups options = raw
        hide dot files = no

[Share]
        comment = html
        path = /var/www/html/
        browsable = yes
        read only = no
        writable = yes
        #guest ok = yes
        create mode = 0644
        directory mode = 0775
AUTHOR
@hiropon
最終更新日 2020/09/04
FAVORITE good stock
LINK TAG
記法を見る