Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2017 22:41:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220001] [PATCH] textproc/apache-solr fix ownership of log and db directory
Message-ID:  <bug-220001-13-kDAYxJYllF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220001-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220001-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220001

Richard Gallamore <ultima@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ultima@freebsd.org
             Status|New                         |Open

--- Comment #9 from Richard Gallamore <ultima@freebsd.org> ---
After testing the patch, it still needs a little bit of work. Before patch
would change everything in directory /var/db/solr to solr:solr. It now rema=
ins
root:wheel. Was this intended?

root@103amd64-test:/var/db/solr # ls -l /var/log /var/log/solr /var/db
/var/db/solr
/var/db:
total 271
drwx------  2 operator  operator      2 Mar 25  2016 entropy
drwxr-xr-x  3 root      wheel         4 Mar 25  2016 etcupdate
drwxr-xr-x  2 root      wheel         5 Jun 30 18:32 fontconfig
drwx------  7 root      wheel        14 Jun  6 19:23 freebsd-update
drwx------  2 root      wheel         2 Mar 25  2016 hyperv
drwx------  2 root      wheel         2 Mar 25  2016 ipf
-rw-r--r--  1 nobody    wheel         0 Mar 25  2016 locate.database
-rw-------  1 root      wheel     28642 Jan  1 16:10 mergemaster.mtree
drwx------  2 root      wheel         2 Mar 25  2016 ntp
drwxr-xr-x  2 root      wheel         3 Jun 30 18:33 pkg
drwxr-xr-x  2 root      wheel         2 Jun 28 16:11 ports
drwxr-xr-x  2 root      wheel         2 Mar 25  2016 portsnap
drwxr-xr-x  2 solr      solr          6 Jun 30 18:33 solr

/var/db/solr:
total 34
-rw-r--r--  1 root  wheel  1390 Jun 30 18:28 log4j.properties
-rw-r--r--  1 root  wheel  1390 Jun 30 18:28 log4j.properties-dist
-rw-r--r--  1 root  wheel  2117 Jun 30 18:28 solr.xml
-rw-r--r--  1 root  wheel  2117 Jun 30 18:28 solr.xml-dist

/var/log:
total 27
-rw-r-----  1 root  wheel    0 Mar 25  2016 sendmail.st
drwxr-xr-x  2 solr  solr     2 Jun 30 18:28 solr
-rw-------  1 root  wheel  151 Jun 30 18:32 userlog
-rw-r--r--  1 root  wheel  197 Jun 30 18:33 utx.lastlogin
-rw-r--r--  1 root  wheel   60 Jun 30 18:33 utx.log

/var/log/solr:
total 0

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220001-13-kDAYxJYllF>