On 6/2/12 7:40 PM, James Cammarata wrote:
On Sat, Jun 2, 2012 at 5:14 PM, Bob
Cochran<bcochran13(a)verizon.net> wrote:
> Well, so much for trying to send a screen shot to the mailing list -- it
> prefers plain text (smile.)
>
> I did fix the problem and log in successfully. I chown'ed
> /var/lib/cobbler/webui_sessions to apache.apache, restarted cobblerd and
> httpd, tried to login, and succeeded. I assume this means that
> /var/lib/cobbler and /var/lib/cobbler/* has to be owned by apache.apache.
No, only two things in that directory are owned by apache (and are
actually apache:root):
# ll /var/lib/cobbler/
total 28
drwxr-xr-x. 10 root root 4096 May 22 20:47 config
drwxr-xr-x. 2 root root 4096 Jun 1 19:15 kickstarts
drwxr-xr-x. 2 root root 4096 May 22 21:44 loaders
-rw-r--r--. 1 root root 0 May 22 21:14 lock
drwxr-xr-x. 2 root root 4096 Jun 1 19:15 snippets
drwxr-xr-x. 7 root root 4096 May 22 21:16 triggers
-rw-------. 1 apache root 1024 Jun 1 19:15 web.ss
drwx------. 2 apache root 4096 Jun 2 12:34 webui_sessions
The /var/www/cobbler directory is where everything should be owned by
apache (again, apache:root by default).
Thank you, I fixed the permissions to apache.root.
Bob