Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] postgresql: new package
Date: Sat, 29 Mar 2014 12:17:22 +0100	[thread overview]
Message-ID: <20140329121722.2d709eba@skate> (raw)
In-Reply-To: <20140329111612.GC3227@free.fr>

Dear Yann E. MORIN,

On Sat, 29 Mar 2014 12:16:12 +0100, Yann E. MORIN wrote:

> > Also, is there something that ensures that the /srv/pgsql/data
> > directory is owned by the postgres user and group, instead of the
> > default root user?
> 
> Yes, the mkuser script does chown the homes to the uid:gid of the user:
> the output of mkuser is put in the fakeroot script, and mkuser does:
> 
>     if [ "${home}" != "-" ]; then
>         mkdir -p "${TARGET_DIR}/${home}"
>         printf "chown -R %d:%d '%s'\n" "${uid}" "${_gid}" "${TARGET_DIR}/${home}"
>     fi

Ok, good to know, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-03-29 11:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 22:36 [Buildroot] [PATCH v2] postgresql: new package Peter Seiderer
2014-03-29 10:57 ` Thomas Petazzoni
2014-03-29 11:16   ` Yann E. MORIN
2014-03-29 11:17     ` Thomas Petazzoni [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-03-30 21:54 Peter Seiderer
2014-03-30 22:13 ` Thomas Petazzoni
2014-03-30 23:34   ` Peter Seiderer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140329121722.2d709eba@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox