Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114289 - portage: DISTDIR on a vfat files system: portage complains every time
Summary: portage: DISTDIR on a vfat files system: portage complains every time
Status: RESOLVED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2005-12-02 12:40 UTC by Toralf Förster
Modified: 2008-03-03 20:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2005-12-02 12:40:16 UTC
The error msg:
*** Adjusting cvs-src permissions for portage user...
!!! Unable to chgrp of /mnt/F/distfiles to portage, continuing

Cannot chown a lockfile. This could cause inconvenience later.

is displayed again and again but for a vfat file system it's not possible to
change the perms, so portage should't try that, isn't it ?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2005-12-02 14:58:31 UTC
Personally, DISTDIR should support perms from where I'm sitting.  The
chown/chmod'ing involved are attempts to verify people can't go and screw with
random tarballs, which lacking any uid/gid/perms for vfat, is rather hard to do.
Comment 2 SpanKY gentoo-dev 2005-12-02 15:05:33 UTC
yes, but such things are left to admins ...

perhaps the middle ground would be that if the first chown/chgrp failed, dump
the warning, but silence all the rest
Comment 3 Brian Harring (RETIRED) gentoo-dev 2005-12-02 15:51:18 UTC
Making portage do that is kind of icky, offhand.

Yes, admin has choice in the matter, but portage also _does_ try to protect it's
files to maintain basic sanity.  Not sure if I like limiting those checks
(regardless if the admin is the one potentially shooting themselves in the foot).
Comment 4 Toralf Förster gentoo-dev 2005-12-03 00:51:46 UTC
>dump the warning, but silence all the rest
right SpanKY that's basically what I mean

Checking whether the file systems supports chown/chgrp or not after start of
emerge displaying a warning about limited capability would give a more clear
warning than "cannot chown ..."  b/c that could be caused by other reasons than
th efile system type.
Comment 5 Zac Medico gentoo-dev 2006-03-17 13:39:35 UTC
Maybe what's really wanted here is just a way to silence all warning messages related to filesystem permissions?  In 2.1 we have a --quiet option that should silence this (it silences other things too though).
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-05-25 20:06:30 UTC
Well I'd say at root of this issue is portage requires an FS with POSIX permissions, I don't see how this is a horrible requirement.

I think think a decent output scheme ( for errors and other things ) is a good thing to have.
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2008-03-03 20:32:48 UTC
As noone has taken care of this yet it probably requires a community patch