[CentOS] Best location in filesystem to have a samba share

Wed Aug 25 02:57:48 UTC 2010
David Miller <david3d at gmail.com>

My suggestion based on the Filesystem Hierarchy Standard would be somewhere
in /srv/

http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM

<http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM>
--
David

On Tue, Aug 24, 2010 at 10:03 PM, David McGuffey
<davidmcguffey at verizon.net>wrote:

> Everyone in the family has a digital camera or cell phone and they seem
> to be leaving picture files all over their home folders, and laptops
> with no sense of year/month/day taken or what they are about.
>
> Looking to consolidate all the family pics in one location on a samba
> share on the primary workstation that happens to have 2TB of mirrored
> storage.
>
> This is all behind a firewall that blocks smb protocols in and out, and
> the iptables on the primary workstation will be set to only allow smb
> to/from specific family laptops.
>
> I have read the manuals...so I know one can get samba and selinux to
> dance together.
>
> But...I don't really want to set a boolean so that all the /home folders
> can be shared.  Would rather create a separate folder and give it the
> correct selinux context, but there is a warning to be careful to not use
> a "system folder" because they already have the proper selinux contexts.
>
> So...if one were to create a new folder and share it out via samba,
> where would be the best location to create it so as to not conflict with
> the selinux contexts of the distro?
>
> /usr/share?  /usr/local/share? /usr/mnt?  somewhere in /var? or
> somewhere else?
>
> Dave M
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100824/3dd1222b/attachment-0005.html>