Displaying 20 results from an estimated 27 matches for "httpd_enable_homedirs".
2015 Dec 23
3
C7 apache file access
...r e.g.:
>>
>> [Wed Dec 23 12:32:49.359323 2015] [negotiation:error] [pid 3208]
>> (13)Permission denied: [client 192.168.160.20:38708] AH00686: cannot
>> read directory for multi: /home/rgm/public_html/biby/
>
> If SELinux is working, then do
>
> setsebool -P httpd_enable_homedirs on
Did not help.
in messages I see:
Dec 23 14:54:04 medon dbus-daemon: dbus[444]: avc: received policyload
notice (seqno=3)
Dec 23 14:54:04 medon dbus[444]: avc: received policyload notice (seqno=3)
Dec 23 14:54:04 medon dbus-daemon: dbus[444]: [system] Reloaded
configuration
Dec 23 14:54:04...
2016 Dec 28
2
Help with httpd userdir recovery
...t;>>>>>> I will say that after enabling selinux on this image per the
>>>>>>> instructions of the team doing the Centos7-arm builds, I got the
>>>>>>> following messages when I did things like 'setsebool -P
>>>>>>> httpd_enable_homedirs on':
>>>>>>>
>>>>>>> [ 2273.047017] SELinux: Class binder not defined in policy.
>>>>>>> [ 2273.052531] SELinux: the above unknown classes and permissions
>>>>>>> will
>>>>>>> be allowed
&g...
2016 Dec 28
1
Help with httpd userdir recovery
...t;>>> I will say that after enabling selinux on this image per the
>>>>>>>> instructions of the team doing the Centos7-arm builds, I got the
>>>>>>>> following messages when I did things like 'setsebool -P
>>>>>>>> httpd_enable_homedirs on':
>>>>>>>>
>>>>>>>> [ 2273.047017] SELinux: Class binder not defined in policy.
>>>>>>>> [ 2273.052531] SELinux: the above unknown classes and permissions
>>>>>>>> will
>>>>>>&g...
2016 Dec 28
0
Help with httpd userdir recovery
...t;>>> I will say that after enabling selinux on this image per the
>>>>>>>> instructions of the team doing the Centos7-arm builds, I got the
>>>>>>>> following messages when I did things like 'setsebool -P
>>>>>>>> httpd_enable_homedirs on':
>>>>>>>>
>>>>>>>> [ 2273.047017] SELinux: Class binder not defined in policy.
>>>>>>>> [ 2273.052531] SELinux: the above unknown classes and permissions
>>>>>>>> will
>>>>>>&g...
2016 Dec 27
2
Help with httpd userdir recovery
I lost my harddrive on my little personal webserver that only serves
some private files from my userdir.
So I am trying to build this from notes on a new Centos7.3 installation
(well really Centos7.3-arm, but supposedly same sources).
Right now the server is running on a test subnet, not the production,
but I have set up the hostname and my standard httpd edits. I have
enabled userdir and
2016 Dec 28
4
Help with httpd userdir recovery
...PROCTITLE msg=audit(1482944350.289:339):
proctitle=2F7573722F7362696E2F6874747064002D44464F524547524F554E44
I will say that after enabling selinux on this image per the
instructions of the team doing the Centos7-arm builds, I got the
following messages when I did things like 'setsebool -P
httpd_enable_homedirs on':
[ 2273.047017] SELinux: Class binder not defined in policy.
[ 2273.052531] SELinux: the above unknown classes and permissions will
be allowed
So something may well not be right with my SELinux.
Bob
2015 Dec 23
4
C7 apache file access
Pulling out what little hair I have here, but stumbled onto a possible
problem.
I have a server running C6 apache that is set up with personal
directories and no problem showing the files.
You can see it at: medon.htt-consult.com/~rgm/pogo
So I have a C7 apache server I am building. Files I create on the new
server are listing fine. Files I have copied (with cp -avr ...) get
permission
2016 Dec 27
4
Help with httpd userdir recovery
...ou don't have permission to access /~rgm/mydir/ on this server.
> The fact that you see the index page makes me assume SELinux is not the
> problem. If you do have it enabled you might want to check out the
> sebooleans that affect apache.
>
> $ getsebool -a | grep http
>
> httpd_enable_homedirs is one of those.
I ran
setsebool -P httpd_enable_homedirs on
restorecon -Rv /home
And I see:
httpd_enable_homedirs --> on
> Remember that file access is based on file permissions in combination
> with file ownership. This means that if apache is neither owner nor
> group owner of...
2016 Dec 28
2
Help with httpd userdir recovery
...;>>>
>>>>>> I will say that after enabling selinux on this image per the
>>>>>> instructions of the team doing the Centos7-arm builds, I got the
>>>>>> following messages when I did things like 'setsebool -P
>>>>>> httpd_enable_homedirs on':
>>>>>>
>>>>>> [ 2273.047017] SELinux: Class binder not defined in policy.
>>>>>> [ 2273.052531] SELinux: the above unknown classes and permissions
>>>>>> will
>>>>>> be allowed
>>>>>&g...
2015 Dec 23
0
C7 apache file access
On 12/23/2015 12:05 PM, Robert Moskowitz wrote:
>> If SELinux is working, then do
>>
>> setsebool -P httpd_enable_homedirs on
>
> Did not help.
>
> in messages I see:
>
> Dec 23 14:54:04 medon dbus-daemon: dbus[444]: avc: received
> policyload notice (seqno=3)
> Dec 23 14:54:04 medon dbus[444]: avc: received policyload notice
> (seqno=3)
> Dec 23 14:54:04 medon dbus-daemon: dbus[444]:...
2015 Dec 23
0
Solved - Re: C7 apache file access
...PM, ????????? ???????? wrote:
> Robert Moskowitz ????? 2015-12-23 23:56:
>> On 12/23/2015 03:26 PM, John R Pierce wrote:
>>> On 12/23/2015 12:05 PM, Robert Moskowitz wrote:
>>>>> If SELinux is working, then do
>>>>>
>>>>> setsebool -P httpd_enable_homedirs on
>>>>
>>>> Did not help.
>>>>
>>>> in messages I see:
>>>>
>>>> Dec 23 14:54:04 medon dbus-daemon: dbus[444]: avc: received
>>>> policyload notice (seqno=3)
>>>> Dec 23 14:54:04 medon dbus[444]: avc:...
2015 Sep 25
3
httpd userdir problem
Look in /etc/httpd/conf.d/ for userdir.conf.
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Timothy Murphy
Sent: Friday, September 25, 2015 1:04 PM
To: centos at centos.org
Subject: Re: [CentOS] httpd userdir problem
Timothy Murphy wrote:
> I'm running httpd-2.4.6-31.el7.centos.1.x86_64
> under CentOS-7 (kernel
2016 Dec 28
4
Help with httpd userdir recovery
...7524F554E44
>>>>
>>>>
>>>> I will say that after enabling selinux on this image per the
>>>> instructions of the team doing the Centos7-arm builds, I got the
>>>> following messages when I did things like 'setsebool -P
>>>> httpd_enable_homedirs on':
>>>>
>>>> [ 2273.047017] SELinux: Class binder not defined in policy.
>>>> [ 2273.052531] SELinux: the above unknown classes and permissions will
>>>> be allowed
>>>>
>>>>
>>>> So something may well not be...
2016 Dec 28
3
Help with httpd userdir recovery
...le=2F7573722F7362696E2F6874747064002D44464F524547524F554E44
>>
>>
>> I will say that after enabling selinux on this image per the
>> instructions of the team doing the Centos7-arm builds, I got the
>> following messages when I did things like 'setsebool -P
>> httpd_enable_homedirs on':
>>
>> [ 2273.047017] SELinux: Class binder not defined in policy.
>> [ 2273.052531] SELinux: the above unknown classes and permissions will
>> be allowed
>>
>>
>> So something may well not be right with my SELinux.
>>
> Bang. I would sugg...
2011 Nov 01
1
SELinux and SETroubleshootd woes in CR
...;allow_httpd_sys_script_anon_write', 'samba_share',
'filesystem_associate', 'fcron_crond', 'inetd_bind_ports',
'named_write_master_zones', 'qemu_file_image', 'catchall',
'allow_mplayer_execstack', 'httpd_can_sendmail', 'httpd_enable_homedirs',
'wine', 'xen_image', 'secure_mode_policyload', 'allow_execmod',
'disable_ipv6', 'httpd_can_network_connect_db', 'sys_module', 'bind_ports',
'samba_export_all_rw', 'use_samba_home_dirs', 'rsync_data',
'...
2015 Sep 25
0
httpd userdir problem
also if selinux is enabled, the boolean httpd_enable_homedirs should be set
On Fri, Sep 25, 2015 at 1:11 PM, Richard Mann <rmann at ilsworld.com> wrote:
> Look in /etc/httpd/conf.d/ for userdir.conf.
>
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Timothy Murphy
&...
2015 Dec 23
0
C7 apache file access
...vr ...) get permission
> error e.g.:
>
> [Wed Dec 23 12:32:49.359323 2015] [negotiation:error] [pid 3208]
> (13)Permission denied: [client 192.168.160.20:38708] AH00686: cannot read
> directory for multi: /home/rgm/public_html/biby/
If SELinux is working, then do
setsebool -P httpd_enable_homedirs on
--
Paul Heinlein
heinlein at madboa.com
45?38' N, 122?6' W
2016 Dec 27
0
Help with httpd userdir recovery
...ir
>
> I get
>
> You don't have permission to access /~rgm/mydir/ on this server.
The fact that you see the index page makes me assume SELinux is not the
problem. If you do have it enabled you might want to check out the
sebooleans that affect apache.
$ getsebool -a | grep http
httpd_enable_homedirs is one of those.
Remember that file access is based on file permissions in combination
with file ownership. This means that if apache is neither owner nor
group owner of a file world must have read access for apache to access
such files. A 711 permission on a directory is then insufficient. It
all...
2016 Dec 28
0
Help with httpd userdir recovery
...0.289:339):
> proctitle=2F7573722F7362696E2F6874747064002D44464F524547524F554E44
>
>
> I will say that after enabling selinux on this image per the
> instructions of the team doing the Centos7-arm builds, I got the
> following messages when I did things like 'setsebool -P
> httpd_enable_homedirs on':
>
> [ 2273.047017] SELinux: Class binder not defined in policy.
> [ 2273.052531] SELinux: the above unknown classes and permissions will
> be allowed
>
>
> So something may well not be right with my SELinux.
>
Bang. I would suggest, at this point, that you might wa...
2016 Dec 30
0
Help with httpd userdir recovery
...l -P httpd_read_user_content 1
Description:
Allow httpd to unified
Allow access by executing:
# setsebool -P httpd_unified 1
# setsebool -P httpd_read_user_content 1
... and setting one of them fixed the problem.
I don't see a bug filed for this. Can anyone else confirm that
httpd_enable_homedirs doesn't work as it did before 7.3? I suspect
it's not widely used and the bug may not have been noticed yet.