RE: htpasswd permissions

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

 



Jens and Vincenzo,

You both got me on the right track.  Yes, there was a Group directive that was set to "nobody".  I didn't even realize that the processes could run under a group that the User was not a member of.

Once I updated the Group to "apache", everything worked fine!

Thanks!
Dave

-----Original Message-----
From: Jens-U. Mozdzen [mailto:jmozdzen@xxxxxx] 
Sent: Thursday, July 04, 2013 5:29 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  htpasswd permissions

Hi Dave,

Zitat von "Isenhower, Dave" <dave.isenhower@xxxxxxxxxxx>:
> We’re running prefork.  I can see the processes running under the 
> correct user:
>
> $ ps -ef | grep httpd
> apache 14638 26766  0 11:32 ?        00:00:00 /usr/sbin/httpd -d  
> /www/etc/apache/config -c Pidfile /web/logs/pid-files/httpd.pid -f 
> /www/etc/apache/config/httpd.conf
>
> $ groups apache
> apache : apache
>
> Even adding read and execute to others on the config directory isn’t 
> sufficient.  I still have to add read to the htpasswd file itself.
>
> Thanks,
> Dave

have you double-checked the effective user/group of your processes?

# ps -ax -o pid,euser,egroup,args|grep httpd

Regards,

Jens


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-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