Posts

Showing posts from December 14, 2018

CentOS 7.4 Samba share access denied

Image
up vote 3 down vote favorite I have set up Samba server on CentOS 7.4 and supposedly allowed it in SELinux. I can successfully access anonymous share on root filesystem but cannot access directories on mounted NTFS partition. In Win10 I get you do not have permission to access 192.16.1.119soft Here is how I mount NTFS shares in fstab UUID=3636E6FC36E6BC4D /media/SYSTEM ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=1000,uid=1000 0 0 Here is my smb.conf [global] workgroup = WORKGROUP server string = Centy Samba %v netbios name = centos security = user map to guest = bad user dns proxy = no log level = 3 log file = /var/log/smblog #============================ Share Definitions ============================== [Anonymous] path = /samba/anonymous browsable = yes writable = yes guest ok = yes read on