Tuesday, March 17, 2009

Warning: mkdir() [function.mkdir]: Permission denied on Fedora

Source http://gallery.menalto.com/node/42302#comment-176477

The problem in my case was that I had the SELinux's security features enabled in my Fedora Core 4 setup. I switched SELinux to permissive mode by editing /etc/sysconfig/selinux -
putting SELINUX=permissive.

There's probably a nicer way than just disabling the security but I was after a simple solution. SELinux FAQ is here.

You need to reboot to make it effective.

No comments: