Find the answer to your Linux question:
Results 1 to 3 of 3
I have 4 folders within my DocumentRoot that SELinux is blocking write permissions. How do I unblock these folders without disengaging "Enforcement" I have Fedora 13 freshly installed. Can I ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    7

    FD13 SELinux DocumentRoot Issue

    I have 4 folders within my DocumentRoot that SELinux is blocking write permissions.

    How do I unblock these folders without disengaging "Enforcement"

    I have Fedora 13 freshly installed.

    Can I use any of these gui tools to fix this problem?

    (1) SELinux Policy Analysis
    (2) SELInux Trouble Shooter
    (3) SELinux Audit log Anyalysis

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    you should put this comand on file doc1 doc2 doc3 doc4<name of folder>
    user@localhost~#su
    enter
    password
    [root@localhost ~]# cd /home/user/Documents
    enter
    [root@localhost Documents]# ls
    foldername
    [root@localhost Documents]# chmod 777 doc1 doc2 doc3 doc4

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    7
    This is the current chmod setting to these folders and still SELinux blocks them. I have to set SELinux to "Permission" to unblock these folders. This effectively turns off SELinux. There must be some setting within SELinux that opens the write to these folders or otherwise I have to ditch SELinux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...