LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Simple Samba Share (https://www.linuxquestions.org/questions/linux-newbie-8/simple-samba-share-549840/)

acerola 04-28-2007 10:37 PM

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.

acerola 04-28-2007 11:02 PM

Ok, the problem is with SELinux and samba. The simple solution was:

/usr/sbin/setsebool -P smbd_disable_trans 1

jay73 04-28-2007 11:54 PM

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 ...

acerola 04-29-2007 12:59 AM

Unfortunately my install is text only.


All times are GMT -5. The time now is 05:22 AM.