Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Currently, default umask (022) is applied and it makes directories in svn-src writable by owner (which is portage). /usr/portage/distfiles permissions already allow for files to be written/deleted by portage group, that does not apply to subdirectories however - specifically source files stored by subversion_src_unpack and other scms. I'd propose to call umask g+w somewhere in subversion.eclass:subversion_src_unpack (with optional, but not really needed - chmod)
Created an attachment (id=198089) [details] Added ESVN_UMASK with umask invocation (no chmod) Proposed patch, with umask moved to separate eclass variable. Also patch removes two redundant parameter substitutions.
Created an attachment (id=198091) [details] fixed typo in die message
On the second thought, maybe giving too much freedom is not the best approach (being able to specify umask that will take away read permissions for portage itself...) So maybe just fix it to g+w? I'd need it anyway (along with existing ESVN_OFFLINE=1) to implement developer mode in kde4 eclass - being able to develop/patch/commit (being in portage group) directly to ESVN_STORE_DIR and utilize portage sandboxed installation and file collision prevention. If you know better (than umask) ways to achieve this, please let me know.
CC-ing other folks, maybe they will have some ideas.