Samba (centos - windows7) : Windows cannot access centos. You do not have permission to access.
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=GR_Ag7nbgIM
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
Tags:
centos
windows 7
samba
application
share
folder
network
linux
permission
terminal
chcon
access
directory
error