Configure the share in /etc/samba/smb.conf as follows:

[media]
path = /home/erl/mediashare
guest ok = yes
available = yes
browsable = yes
public = yes
writable = yes
read only = no
force user = nobody
admin users = erl
create mask = 777
force create mode = 0777
directory mask = 3777

Also, make sure that the security parameter in smb.conf is this:

security = share

Advertisements