Skip to content

How to change the UID of the Apache process? #14

@jpetazzo

Description

@jpetazzo

On php:apache, we are trying to change the UID of the Apache process, so that it can access files owned by another uid than 33/www-data (because we're sharing some files with another container).

I tried:

  • setting ENV APACHE_RUN_USER 1000
  • editing /etc/apache2/envvars
  • running Apache with -D APACHE_RUN_USER=1000

Noworkie :(

@tianon told me:

15:57 <tianon> you want -u SOME-UID and probably have to sed the conf file
15:57 <tianon> can you file an issue?
15:57 <tianon> and say I sent you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions