Re: Forbidden: You don't have permission to access/phpMyAdmin/ on this server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2008/6/18 Mike Hanby <mhanby@xxxxxxx>:
> Maybe this has already been suggested, but is the output identical for
> the old and new directories using the following command:
>
> ls -ldZ /var/www/html/{phpMyAdmin,pma}
>
> The Z will show the SELinux security attributes.

You found it, Mike!
Joshua previously suggested SELinux might have something to do with
it, but being new to it, I didn't know what to do with that info.

# ls -ldZ /var/www/html/{phpMyAdmin,pma}
drwxr-xr-x  phpmy apache user_u:object_r:httpd_sys_content_t
/var/www/html/phpMyAdmin
drwxr-xr-x  phpmy apache user_u:object_r:user_home_t      /var/www/html/pma

I'll need to read up on what this means exactly.  I originally
untarred the phpMyAdmin in my non-priv'ed home directory - which must
be the "user_home_t" reference - and then moved it over to its current
location.

I meanwhile switched to permissive mode.  If SELinux is this tricky,
I'll have to find time to study it before enabling it again.

Thanks to all for thinking along.

Kind regards,

Herta

-- 
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux