PHP Classes

Can't Create Directories / Folders

Recommend this page to a friend!

      PHP Classes blog  >  How to Install LAMP w...  >  All threads  >  Can't Create Directories / Folders  >  (Un) Subscribe thread alerts  
Subject:Can't Create Directories / Folders
Summary:Problems creating directories / folders .. try this ...
Messages:1
Author:Michael J. Fuhrman
Date:2013-09-01 22:52:18
Update:2013-09-02 03:51:05
 

  1. Can't Create Directories / Folders   Reply   Report abuse  
Picture of Michael J. Fuhrman Michael J. Fuhrman - 2013-09-02 03:51:05
If you experience that you can create a file perfectly fine, but can't create a directory or folder through a SAMBA share, then try issueing these two commands on your SAMBA server.

>setsebool -P allow_smbd_anon_write=1
>chcon -t samba_share_t /var/www/html

It took a lot of searching to find these two commands, so hopefully this will resolve your issues faster.

Reference:
fedoraproject.org/wiki/SELinux/samb ...