Samba

From WhyNotWiki

Jump to: navigation, search

/etc/samba/smb.conf

[uploads]
   comment = Uploads
   path = /data/uploads
   browseable = yes
   read only = no
   public = yes
   write list = uploader, tyler

http://www.ctunion.com/node/53. Retrieved on 2007-05-11 11:18.

mkdir /share
/etc/init.d/samba restart
smbuser -a jhansen
smbpasswd -a jhansen

if you want to add shares to your samba server add the following lines in the config file.

[newshare]
path = /newshare
browseable = yes
comment = share
writable = yes
public = yes
guest ok = no

Now create the share and give it some permissions.

chmod 777 /share
chown jhansen:jhansen /share
chmod 755 /share/

http://www.samba.netfirms.com/shares.htm

Retrieved from "http://whynotwiki.com/Samba"
Personal tools