Dangers security risks doing this??

Mike


On Monday March 10 2003 1:18 pm, Mike Williams wrote:
> On Mon, 2003-03-10 at 18:11, Alain Penders wrote:
> > Portage tries to chown that directory to root, so if distfiles is mounted
> > such that creating root files/dirs isn't allowed, portage will fail. 
> > That might be the difference between your machines....  check for
> > differences between the /etc/fstab files.
> >
> > If that doesn't help, you could try deleting
> > /usr/portage/distfiles/cvs-src, and then run portage again (as root).
>
> Or, comment out these 4 lines in
> /usr/lib/python2.2/site-packages/portage.py
>
> #       os.chown(settings["DISTDIR"]+"/cvs-src",0,portage_gid)
> #       os.chmod(settings["DISTDIR"]+"/cvs-src",06770)
> #       spawn("chgrp -R "+str(portage_gid)+"
> "+settings["DISTDIR"]+"/cvs-src", free=1)
> #       spawn("chmod -R g+rw "+settings["DISTDIR"]+"/cvs-src", free=1)

-- 
        Michael W. Holdeman
Powered by Gentoo Linux 1.2 http://www.gentoo.org
Linux kernel 2.4.19 /LowLatency /preemption
Windows apps via Win4Lin4.0

--
[EMAIL PROTECTED] mailing list

Reply via email to