Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 650
    • Issues 650
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 207
    • Merge Requests 207
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #606

Closed
Open
Opened Apr 28, 2011 by Natanael Copa@ncopaOwner

main/lighttpd: permissions of /var/log/lighttpd and /var/run/lighttpd needs follow the config

You can set the server.username and server.groupname to something else than lighttpd and if that is done, the permissions of /var/{log,run}/lighttpd will be wrong. This does not really matter for disk installs since you can set those once for all there but it is broken for tmpfs installs. It does not help to add those dirs to lbu include since apk will overwrite the permissions to the lighttp:lighttp user group as found in apk package.

Possible solutions:

  • init.d script parses config and sets permissions before starting daemon
  • the post-install parses the config and sets the permissions

(from redmine: issue id 606, created on 2011-04-28, closed on 2011-05-03)

  • Changesets:
    • Revision bf277d94 on 2011-05-03T06:54:53Z:
main/lighttpd: set /var/{run,log}/lighttpd permission on start

Needed when server.user and server.group is not set to default
value and we run from RAM.

fixes #606
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Alpine 2.2.0
Milestone
Alpine 2.2.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#606