[MacPorts] #69988: 2048.cpp installs its data into /var, perhaps should rather use /share?

MacPorts noreply at macports.org
Tue May 14 05:07:38 UTC 2024


#69988: 2048.cpp installs its data into /var, perhaps should rather use /share?
---------------------------+------------------------
  Reporter:  barracuda156  |      Owner:  chenguokai
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:  2048.cpp      |
---------------------------+------------------------

Comment (by ryandesign):

 2048.cpp stores scores and statistics in ${prefix}/var/2048.cpp/data.
 According to [https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
 FHS] `var` is for "files whose content is expected to continually change
 during normal operation of the system"; storing scores and statistics
 there seems correct to me. `share` would not be an appropriate place for
 that kind of data; `share` is for manpages, documentation, and other
 architecture-independent files installed with the software and not
 expected to change during the normal operation of the system.

-- 
Ticket URL: <https://trac.macports.org/ticket/69988#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list