Hispanitat nº 7 Local C

08225, Terrassa (Barcelona)

+34 600 676 872

Soporte Técnico

Lunes-Viernes: 9:30 a 13:30 - 16:30 a 20:00

Sábados a convenir

Por favor, o Regístrate para crear mensajes y debates.

samba carpeta compartida full

vi /etc/selinux/config

yum -y install samba samba-client
mkdir /shared
chmod 777 /shared
chown -R nobody:nobody shared/

semanage fcontext -a -t samba_share_t /raid
semanage fcontext -a -t samba_share_t "/raid(/.*)?"

archivo1 agrega la siguiente entrada a /etc/selinux/targeted/contexts/files/
file_contexts.local:
restorecon -R -v /web

nano /etc/samba/smb.conf
agregar despues de global
unix charset = UTF-8
dos charset = CP932

hosts allow = 127. 10.0.0.

security = user
passdb backend = tdbsam
map to guest = Bad User

[Share]
path = /home/share
writable = yes
guest ok = yes
guest only = yes
create mode = 0777
directory mode = 0777

systemctl start smb nmb
systemctl enable smb nmb
firewall-cmd --add-service=samba --permanent
firewall-cmd --reload

WhatsApp chat