Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381913 - sys-apps/portage (/usr/bin/repoman) : Missing warning about chmod/chown
Summary: sys-apps/portage (/usr/bin/repoman) : Missing warning about chmod/chown
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 10:42 UTC by Agostino Sarubbo
Modified: 2011-09-06 17:02 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 Agostino Sarubbo gentoo-dev 2011-09-05 10:42:05 UTC
I think is a good idea add a warning when chmod/chown is used instead of fperms/fowners.
Comment 1 Zac Medico gentoo-dev 2011-09-05 18:49:55 UTC
The thing is, fperms and fowners operate on the install image in ${D}, while it may still be necessary to use chown and chmod in ${ROOT} for various reasons (including bug 141619 and bug 378451). So, would a ban on chown and chmod inside src_install really improve anything? Note that they'd still need to be called by Makefiles and whatnot.
Comment 2 Agostino Sarubbo gentoo-dev 2011-09-06 10:26:44 UTC
I asked because I guess it can be an improvement, feel free to close if is not.
Comment 3 Zac Medico gentoo-dev 2011-09-06 17:02:32 UTC
If it was a portability issue then maybe we could justify a warning. However, it's not, and I think a warning like this would just be annoying.