Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2014 00:38:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195088] New: minecraft-server issues on virgin install
Message-ID:  <bug-195088-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 195088
           Summary: minecraft-server issues on virgin install
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: matt@gsicomp.on.ca

Created attachment 149502
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149502&action=edit
Updated pkg-plist

When installing this port for the very first time on a system I hit some
problems with directory permissions.

First, /usr/local/share/minecraft-server gets created as root, even though all
the files in it are installed as mcserver:mcserver.  This causes problems
because the first startup cannot write eula.txt (creating a new file in a
directory owned by root:wheel.

This is fixed by adding "@dir %%DATADIR%%" to pkg-plist.  (Note that marino
suggested that this was a useless entry in bug #194312 but I think it serves a
valid purpose on a virgin install.)

Second, /usr/local/etc/minecraft-server gets created as root, even though all
the files in it are installed as mcserver:mcserver.  This causes problems
because the first startup cannot write server.properties (creating a new file
in a directory owned by root:wheel).

This is fixed by adding "@dir %%ETCDIR%%"to pkg-plist.

A new pkg-plist that fixes these two issues is attached.

-- 
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-195088-13>