Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Im having issues with my samba server, its shared with some win xp/7 machines, sometimes i create folders inside ubuntu, copying files from sd cards or pen drives, sometimes i do the same on windows machines, the problem is, i cant give full access to this files to everyone, all users should be abble to create, del, read, writes etc in all files and folders, but its not happening...i know im missing some small detail... i wish u guys could help me....

#nome do grupo de trabalho
workgroup = MSHOME

#Como a máquina Linux irá aparecer na rede Windows
netbios name = datasrv

####### Authentication #######
#Modo de acesso aos arquivos do Linux
security = share
#share = para NÃO exigir autenticação
#user = para exigir autenticação
#ex: security = user
guest ok = yes
#Agora adicione estas linhas no final do arquivo:
#nome do compartilhamento

# descrição do compartilhamento
comment = meus docs lan

# caminho da pasta, no Linux, que será compartilhada
path = /home/user/megacyber

#se todos os compartilhamentos poderão ser acessados por todos os usuários
public = yes

# se o compartilhamento será visivel ou oculto na rede (yes para visível)
browseable = yes

# se permitirá escrita
writable = yes

# somente leitura
read only = no

# define a mascara em que os arquivos serão criados
create mask = 777
#(terão a permissão rwx somente para o root)

# define a mascara em que os diretórios serão criados
directory mask = 777
force create mask = 777
security mask = 777
force security mask = 777
share|improve this question
Probably the permissions ... from memory: when security = share -> permissions = 2777. Can you try 2777 instead of 0777? –  Rinzwind Dec 12 '13 at 19:39
Gonna try.... ill let u know if it works ..tks for ur help –  William Dec 16 '13 at 19:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.