Re: Groups and GIDs in PKGBUILDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, May 30, 2012 at 11:06 AM, Paul Gideon Dann <pdgiddie@xxxxxxxxx> wrote:
> Hi guys,
>
> Is there a policy with regards to GIDs in packages?  Here's my scenario:
>
> When creating a PKGBUILD, I want certain files to belong to the http group.
> However, if http might have a different GID on other systems, I'll need to
> chgrp the files in the .install file, rather than the PKGBUILD, to ensure
> correct behaviour.  On the other hand, if the http group is considered a
> standard group belonging to the base system, it may be safe to perform the
> chgrp in the PKGBUILD, and I can be sure that it will map to the correct group
> when it's upacked on another system.
>
> The Mediawiki PKGBUILD in ABS performs a chown to http in the PKGBUILD.  I
> wonder if there's an official list of "safe" groups somewhere?
>

yes: https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database

> Cheers,
> Paul


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux