Re: Best location in filesystem to have a samba share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

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

--
David

On Tue, Aug 24, 2010 at 10:03 PM, David McGuffey <davidmcguffey@xxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux