Re: invalid context: httpd_sys_content_rw_t

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

 



On Sat, Mar 14, 2009 at 02:45:43 -0400,
  Braden McDaniel <braden@xxxxxxxxxxxxx> wrote:
> 
> That makes the type "httpd_user_content_t", which doesn't let httpd
> write to the directory.  Using "chcon -t" to change the type to
> httpd_user_content_rw_t does the trick, though.  Thanks.

You really want to use semanage to make the changes permanent. chcon
is OK for quick tests, but if you don't use semanage, then restorecon
won't know about the change and the next time that file gets checked
during a relabel, it will get its context changed back again.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux