Samba (centos - windows7) : Windows cannot access centos. You do not have permission to access.

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=GR_Ag7nbgIM



Duration: 3:01
27,550 views
85


i'm trying to sharing folder with 'samba' from centos 7 to windows 7.
i'm have succeeded to displaying 'folder' of centos 7 in windows network. But when i click that folder, it says :

---
You do not have permission to access \\centos\html. Contact your network administrator to request access.
---

hm, i'm confused. i searching on google, and got it a solution :
1) open your terminal, and run this script :
sudo chcon -Rt samba_share_t /var/www/html

--
bingo!




Other Videos By Ambar Hasbiyatmoko


2017-04-19Arduino error (Ubuntu) - avrdude: ser_open(): can't open device "COM1": No such file or directory
2017-04-18Samba Tutorial (Centos 7) - samba share with password
2017-04-16Can't install Arduino (Ubuntu16.04) - xdg mime: file 'lin/cc.arduino.arduinoide.xml' does not exist
2017-04-16Phpmyadmin Tutorial - Create a user and grant privileges only their own databases
2017-04-15Membuat server web sendiri (laptop + ubuntu 16.04) menggunakan ISP firstmedia
2017-04-14Samba (Centos 7) - install and share folder from centos 7 to windows 7
2017-04-13Setting codeigniter in subfolder on nginx (ubuntu 16.04)
2017-04-12Codeigniter error (ubuntu) - mysqli::real connect: HY000/1698: Access denied user 'root'@'localhost'
2017-04-12Codeigniter (Ubuntu 16.04) - The Encrypt library requires the Mcrypt extension.
2017-04-11Install Android Studio on Ubuntu 16.04
2017-04-10Samba (centos - windows7) : Windows cannot access centos. You do not have permission to access.
2017-04-10Displaying PHP errors when : The localhost page isn’t working (on Ubuntu)
2017-04-08Virtualbox - Port forward web server (guest to host)
2017-04-07Slick jquery slider - Fix image width
2017-04-05Virtualbox on centos 7 - Kernel driver not installed (rc=-1908)
2017-04-04Codeigniter + Nginx configuration on Ubuntu 16.04
2017-04-04install nginx + php5.6 on Ubuntu 16.04
2017-04-03Virtualbox error - Failed to create the hard disk storage, with UUID already exists
2017-04-03Mariadb (Ubuntu) - ERROR 1698 (28000): Access denied for user 'root'@'localhost'
2017-04-02Virtualbox on Centos 7 - No package kernel-devel-3.10.0-327 available.
2017-03-31Install virtualbox on Centos 7



Tags:
centos
windows 7
samba
application
share
folder
network
linux
permission
terminal
chcon
access
directory
error