[Bug 220001] [PATCH] textproc/apache-solr fix ownership of log and db directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 30 22:41:11 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220001

Richard Gallamore <ultima at freebsd.org> changed:

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

--- Comment #9 from Richard Gallamore <ultima at 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 remains
root:wheel. Was this intended?

root at 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

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


More information about the freebsd-ports-bugs mailing list