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@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
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

Reply via email to