Answer the question
In order to leave comments, you need to log in
How to properly distribute rights for samba?
Hello.
There is an OS with the samba service installed
Version:
Linux version 3.10.0-327.3.1.el7.x86_64
NAME="Red Hat Enterprise Linux Server"
VERSION="7.2 (Maipo)"
ID_LIKE="fedora"
VERSION_ID="7.2"
PRETTY_NAME= Red
Hat
Enterprise Linux Server 7.2
(
Maipo
) ="7.2"
smbclient -V
Version 4.2.pdbedit -a -u usersamba
and issued the rights (I understand that apparently this is not possible, BUT I wanted to achieve the result faster) sudo chmod –R 777 /data
Config
; /etc/smb.conf
;
; /etc/rc.d/init.d/smb stop
; /etc/rc.d/init.d/smb start
[global]
guest account = usersamba
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
share modes = yes
[data]
comment = files source
path = /data
read only = no
public = yes
valid users = usersamba
create mode = 0750
writable = yes
guest ok = Yes
browseable = yes
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question