Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-09-2008, 06:47 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
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
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?
Old 06-09-2008, 11:48 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
Samba sharing problem (user permission problem) beikokutn Linux - Software 4 03-11-2008 05:55 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
samba problem jedimastermopar Linux - General 10 05-06-2005 09:10 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration