[CentOS] Strange Samba Issue

Styma, Robert E (Robert) robert.styma at alcatel-lucent.com
Mon Feb 17 13:36:46 UTC 2014


Another possibility is selinux.  I just build a CentOS 6 machine.
When I tried mapping a drive, I kept getting permission denied.
When I got into the /tmp directory, I was able to create files
from Windows via Samba and see those files but ones created on
the folder either did not show up or were inaccessible.  
Listing the extended attributes showed that the selinux part of
the attributes was different.

Researching showed that there are a number of little selinux flags
to set to get samba to work.  I went into /etc/selinux/config and
turned off selinux to test and rebooted.  The problems went away.
Now I just have to figure out what to configure, so I can turn 
selinux back on.

Bob S

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Jeff Allison
> Sent: Sunday, February 09, 2014 7:47 PM
> To: CentOS mailing list
> Subject: [CentOS] Strange Samba Issue
> 
> Ok so I built the microserver as a centos box and now I have a strange
> one
> 
> I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared
>  with samba.
> 
> Now when I browse these folders on the console I can see the files. when
> I
> sftp on the command line from another box I can see these files.
> 
> But when I browse via samba or using a gui sftp client quite a lot of
> these
> files are missing...
> 
> Any ideas?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list