Re: Samba server set-up -

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

 



On 08/11/16 00:28, Earl A Ramirez wrote:



+
That is the problem! It never occurred to me that selinux was blocking it in the server, I only tried setting it to permissive in the client. I can connect and put files on the samba server now. I don't know the re-label command but I guess I will figure that out tomorrow.

To change the label you can do the following if you have policycoreutils-python-utils installed

semanage fcontext -a -t samba_share_t "/smbBOX48(/.*)?"
restorecron -R -v /smbBOX48

If you don't have the package installed you can use chcon, the only problem with this method is if SELinux relabel at boot, you will lose the changes.

chcon -t samba_share_t /smbBOX48



--
Kind Regards
Earl Ramirez


Earl:

First thing this morning my favorite horse died, 24 years, with me since birth.

I just ran the semanage routine and relabeled and it looks like I can start putting files back on the Samba server again. Once again, thanks for the help.

Bob
-- 
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10  FEDORA-24/64bit LINUX XFCE POP3
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux