Bug 108153 - ports extraction with package uid/gid and quota problems
Summary: ports extraction with package uid/gid and quota problems
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-20 16:40 UTC by Przemysław Rutowicz
Modified: 2015-06-12 21:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Przemysław Rutowicz freebsd_committer freebsd_triage 2007-01-20 16:40:18 UTC
Ports are beeing extracted to their work directory with the uids/gids of
the files inside the archive. When files inside ie. perl-5.8.8.tar.gz
have uid/gid ie. - 1013/1013, a problem with quotas may arise. When
quotas are set for id being used in that archive, it may result in disc
quota problems.

Fix: 

I suggest setting ports to extract archives with root user id and not
with the the uids/gids in the archive.
How-To-Repeat: Set low quota (ie. 5mb) for long range of uids, ie. 1000-2000, then try
to install some port that extracts a archive with original uid/gid's,
like lang/perl5.8 (on 6.2-STABLE). An error about disk quota may appear.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-01-20 21:30:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is port manager territory
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-05-25 04:41:56 UTC
State Changed
From-To: open->suspended

A large number of individual ports would have to be fixed before we would 
be able to do this, so suspend for now.
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2015-06-12 21:14:23 UTC
distfiles are now extracted without uid/gid.