LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba Problem (https://www.linuxquestions.org/questions/linux-server-73/samba-problem-647993/)

himoi 06-09-2008 06:47 AM

Samba Problem
 
hello all,
I'm using samba v.3.0.0-14.3E on Redhat. I share my linux box to windows network.

I create a directory
mkdir /home/db
chmod 777 /home/db

I'm using security mode = share and my smb.conf is
[Publish]
comment = Publish Folder
path = /home/db
public = yes
writable = yes
guest ok = yes
force user = nobody
force group = nobody
create mask = 0777
directory mode = 0777

When i copy a files to this folder (ex: readme.txt), I saw that this file don't have +rwx attribute to other group

ls -al readme.txt
-rwxrw-rw- 1 nobody nobody 340 Jun 9 16:24 readme.txt

Why is happened?

billymayday 06-09-2008 11:48 PM

There's a pretty cggod chance it's something to do with SELinux. You can try temporarily disabling it with "setenforce 0" as root, then see if things works as expected. If so, re-enable SELinux ("setenforce 1"), let us know and we can sort it out from there.


All times are GMT -5. The time now is 01:00 AM.