Fwd: Re: Apache 2.2.17 on RHEL 5.2 (13) Permission denied

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For the record...

- -------- Original Message --------
Subject: 	Re:  Apache 2.2.17 on RHEL 5.2 (13) Permission denied
Date: 	Wed, 27 Oct 2010 20:50:27 +0530
From: 	sai prasad kolli <kollisp@xxxxxxxxx>
To: 	Mark Watts <m.watts@xxxxxxxxxxxxxxxx>



The problem is fixed..

Some part of the whole path in directory root has only 644 permission

after changing to permission level 755 It started working

Thank you all

On Wed, Oct 27, 2010 at 8:34 PM, Mark Watts <m.watts@xxxxxxxxxxxxxxxx
<mailto:m.watts@xxxxxxxxxxxxxxxx>> wrote:

On 10/27/2010 03:54 PM, sai prasad kolli wrote:
> Yes the user running Apache has access to the entire path of
document root.

Prove it:

# namei -m /path/to/DocumentRoot/

This will give you the directory permissions for each directory upto and
including the DocumentRoot.
Since RHEL 5 doesn't support the -o option to namei, you will need to
use ls to find the owner of each directory:

# ls -ld /var/www/html/
# ls -ld /var/www/
# ls -ld /var/


Similarly, since you are using RHEL 5, which enables SElinux as
standard, please give the output of the following command:

# getenforce


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzISBgACgkQBn4EFUVUIO1uVwCgmyiOpInT0RIw1a0C259eYmMa
OPYAoNgIaGKRPbEzub7cEWf4bHKriX9F
=8PW6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux