[Samba] Public shares in FC4 (update)

Louis E Garcia II louisg00 at bellsouth.net
Fri Feb 24 21:42:19 GMT 2006


Ok, I narrowed down the problem to selinux. With it off I have no
problems. How do label /data/public so samba can use it? I have tried:

# chcon -R -t samba_share_t /data/public

but it didn't help.


On Fri, 2006-02-24 at 12:32 -0500, Louis E Garcia II wrote:
> /dev/hda3    /data       ext3    defaults      1 2
> 
> data is the partition.
> 
> On Fri, 2006-02-24 at 09:18 +0100, Henrik Zagerholm wrote:
> > Have you mounted the other partition as data or is data just at dir  
> > on the other partition?
> > 
> > cheers,
> > henrik
> > 
> > 24 feb 2006 kl. 02:30 skrev Louis E Garcia II:
> > 
> > > I am able to share a directory under / like /samba and able to connect
> > > to it. The /data directory is not under / but a separate partition. I
> > > wouldn't think this is a problem?
> > >
> > > On Thu, 2006-02-23 at 18:20 -0500, Louis E Garcia II wrote:
> > >> I am trying to share a directory with samba-3.0.14a and FC4. readable
> > >> and writable to everyone.
> > >>
> > >> The directory is /data/public : 2777 root:root
> > >>
> > >> This is my smb.conf:
> > >>
> > >> [global]
> > >>         workgroup = HOMENETWORK
> > >>         server string = Samba Server
> > >>         security = SHARE
> > >>         hosts allow = 127.0.0.1, 192.168.0.0/24
> > >>         hosts deny = 192.168.0.1/24
> > >>
> > >> [public]
> > >>         comment = Public Stuff
> > >>         path = /data/public
> > >>         public = Yes
> > >>         read only = No
> > >>         browseable = Yes
> > >>         guest ok = Yes
> > >>         create mask = 2777
> > >>
> > >> I am able to browse the server but when I open the share public I  
> > >> get an
> > >> error that the directory doesn't exist.
> > >>
> > >> I am stumped. --Louis
> > >>
> > >
> > > -- 
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  https://lists.samba.org/mailman/listinfo/samba
> > 
> 



More information about the samba mailing list