'Permission denied' trying to do anything

Discussion in 'Installation/Configuration' started by register512, Jun 18, 2013.

  1. register512

    register512 New Member

    I am running ISPConfig 3.0.5.1 on CentOS 6.4 with Apache. This is not my first ISPConfig system, nor is this the only client/site on the system. I already have a client/site/database combination running successfully on the machine, and it has been operating for a couple of months.

    My problem is occurring when I create a new site for the same client, The admin panel shows that everything is good, the base directories for the site are created, and the database is operational. The base directory is at /var/www/clients/client1/web4, as I would expect. All permissions seem to be fine.

    However, I need to create a directory immediately under web4. The mkdir fails with 'Permission denied'. If I try to do anything to the web4 directory, I get 'Operation not permitted'. I am running as root, the web4 directory shows ownership of root:root, the owning directory (client1) shows ownership of root:root. Following a tip in another post, I have turned off the "Make web directories immutable" switch.

    Where it gets really weird, is that if I create another site, for the same client, I can do anything I want to the new 'web5' directory, just as I would expect. This is, quite frankly, driving me nuts.

    Anyone got any ideas?
     
  2. till

    till Super Moderator

  3. register512

    register512 New Member

    I am not sure if the "chattr..." fix would have worked. I managed to solve the problem, at least for the moment, by turning off the 'SuExec' switch in the configuration of the site. I stumbled on that purely by accident, looking for anything to get the site functional.
     

Share This Page