[Bug 195088] New: minecraft-server issues on virgin install

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 17 00:38:23 UTC 2014


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 at FreeBSD.org
          Reporter: matt at 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.


More information about the freebsd-ports-bugs mailing list