A
A
Andrey2020-02-11 12:23:00
linux
Andrey, 2020-02-11 12:23:00

Permissions on folders in linux SAMBA?

Hello, help me figure out
the ball (samba) smb.conf is raised on centos

[D$]
comment = 2TB Share
path = /2TB/
writeble = yes
browsable = no
valid users = @andrey
create mask = 0660
directory mask = 0771


I created the user "andrey", added it to samba and set a password, but stubbornly does not let me into the folder
Rights to \2TB\ 0777 I understand correctly that I need to add rights to the folder for "andrey" ??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2020-02-11
@MoscowStyle

I figured it out myself, it's not about rights, I had to add lines to smb.conf for
[D$]
shares comment = 2TB Share
path = /2TB/
writeble = yes
browsable = no
read list = @andrey
write list = @andrey

valid users = @andrey
guest ok = no

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question