Login   Register  
PHP Classes
elePHPant
Icontem

Can't Create Directories / Folders (Superceed Previous)

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

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

  1. Can't Create Directories / Folders (Superceed Previous)   Reply  
Picture of Michael J. Fuhrman
Michael J. Fuhrman
2013-09-02 03:51:36
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.

>chcon -R -t public_content_rw_t /var/www/html
>setsebool -P allow_smbd_anon_write=1
>setsebool -P allow_httpd_anon_write=1

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

Reference(s):
http://fedoraproject.org/wiki/SELinux/samba

http://serverfault.com/questions/131105/how-do-i-get-selinux ...