Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-25-2008, 03:32 PM   #1
Registered: Aug 2008
Posts: 55

Rep: Reputation: 15
SELinux issues with Samba

When Samba process try to access a file, SELinux denied the process to access the file. I wanted to set a file context label to the directory which the samba process needs to access and I tried to set it up permanently. But, I could not find /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local file. Do you know where the file is?
Old 11-25-2008, 03:38 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
POLICYTYPE should be replaced by the policy type I assume. Try targeted (ie /etc/selinux/targeted/contexts/files/file_contexts)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd access with selinux enforce mode, restriction issues. rajnishmishra Linux - Security 3 08-19-2008 03:46 PM
SELINUX Samba jerzeejerome Linux - Networking 1 12-23-2006 07:33 PM
Issues with selinux? JungleNut Linux - Security 2 11-02-2006 09:11 PM
I think SELinux killed samba, but I am not sure neddis Linux - Newbie 1 07-19-2006 11:24 PM
security, desktop, selinux, samba issues ciscohead Fedora 1 01-07-2006 05:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration