Sunday, April 7, 2013

Samba File Server

sudo apt-get install samba
        /etc/samba/smb.conf 
sudo cp -p smb.conf smb.conf.ori 
 
   workgroup = EXAMPLE
   ...
   security = user   # I don't use this
[share]
    comment = Ubuntu File Server Share
    path = /srv/samba
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755
 
[transmission]
    comment = Ubuntu File Server Share
    path = /srv/transmission
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0775 
 
sudo mkdir -p /srv/samba
sudo chown nobody.nogroup /srv/samba
 

sudo restart smbd
sudo restart nmbd  
 

No comments:

Post a Comment