LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2007, 11:37 PM   #1
acerola
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Rep: Reputation: 0
Simple Samba Share


I use Fedora 6. I want to create a simple read/write anonymous shared folder. I put in smb.conf:

[global]
workgroup = XXX
netbios name = XXX
security = SHARE

[data]
comment = Data
path = /samba
force user = xxx
force group = xxx
read only = No
guest ok = Yes
writable = Yes

Samba starts ok. The shared folder is accessible from a windows machine.

I can:
-see the files
-put new files

I cannot, and want to:
-rename files
-read files
-create dirs

The /samba dir has 777 permission. The owner is the same one specified on the conf.
 
Old 04-29-2007, 12:02 AM   #2
acerola
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, the problem is with SELinux and samba. The simple solution was:

/usr/sbin/setsebool -P smbd_disable_trans 1
 
Old 04-29-2007, 12:54 AM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Did you know that Fedora has a graphical thingy that allows you to indicate which are trusted services and which not? Mine is sitting under System > Administration > Security Level & Firewall.

And btw, I struggled with the same problem for several hours ...
 
Old 04-29-2007, 01:59 AM   #4
acerola
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Unfortunately my install is text only.
 
  


Reply


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
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 01:28 AM
anyone have a simple samba - xp setup they want to share? mdm0173 Linux - Software 4 10-06-2006 04:40 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 08:27 AM
simple SAMBA share true_atlantis Linux - Software 3 05-28-2004 07:44 PM
Simple Samba 2.8 Howto SHARE question.. mariusak Linux - Software 1 03-01-2004 12:11 PM


All times are GMT -5. The time now is 10:52 AM.

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