Re: [PHP] Trying to understand what I've broken to not allow mkdir() to work.

[email protected] (Alain Williams)
Newsgroups php.general
Organization Parliament Hill Computers Ltd
Message-ID <[email protected]>
On Thu, May 16, 2013 at 03:33:53PM +0100, Richard Quadling wrote:
> Hi.
> 
> I'm running on a Mac with a Centos VM (via VirtualBox).
> 
> Was running from from our SVN server.
> 
> New repo, now running from GIT.
> 
> The checkout is on my local machine (using Netbeans, LESS, etc.)
> 
> The VM is running Apache and PHP V5.4.15
> 
> During the move, I've got some permissions issues, which I simply don't
> understand enough to a) resolve myself, b) know what to ask for to get the
> right help in solving the issue.
> 
> I've been told that the permissions on my mac via the shared folder through
> VirtualBox to the Centos setup is where my problem lies. But I don't know.
> 
> Is there anyone who can give me definite help here? I can manually create
> the directories, but that's just daft.
> 
> Nothing LOOKS any different between the two repos, but I don't know how to
> tell beyond comparing ls outputs.
> 
> Any help would be good.

Have you got SELinux switched on ? Try:

    ls -lZ

    getenforce

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.