ubuntu 设置samba共享文件夹

主要供自己备注,参考连接:https://help.ubuntu.com/12.10/serverguide/samba-fileserver.html

按装

sudo apt-get install samba
配置

[share]
    comment = Ubuntu File Server Share
    path = /srv/samba/share
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755

sudo mkdir -p /srv/samba/share
sudo chown nobody.nogroup /srv/samba/share/

生效

sudo restart smbd
sudo restart nmbd


图形界面参看: http://imcn.me/html/y2012/10717.html

sudo apt-get install system-config-samba






你可能感兴趣的:(工作)