You are not logged in.

#1 2011-04-23 04:59:01

amadar
Banned
Registered: 2011-04-15
Posts: 147

built a pkg with yaourt as root, cancled half way, r there leftovers??

I built a package using yaourt as root, then realized i should do that as a normal user (as yaourt suggests) so i ^Ced out and started over as a normal user. Does this leave left over files somewhere?

Offline

#2 2011-04-23 05:26:29

flan_suse
Member
Registered: 2010-10-28
Posts: 120

Re: built a pkg with yaourt as root, cancled half way, r there leftovers??

Check under /tmp. Yaourt builds in its own subfolders under /tmp/yaourt/.

Offline

#3 2011-04-23 09:49:30

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: built a pkg with yaourt as root, cancled half way, r there leftovers??

Oh ok, thanks! I guess, theoretically, if a build script has malicious code in it, it can modify who knows what anywhere else in the system so it's best to run yaourt as a normal user.

Offline

#4 2011-04-23 10:15:22

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: built a pkg with yaourt as root, cancled half way, r there leftovers??

Pretty much. Yaourt uses /tmp/yaourt-$USER so for root it would be /tmp/yaourt-root


Rauchen verboten

Offline

#5 2011-04-23 13:34:35

flan_suse
Member
Registered: 2010-10-28
Posts: 120

Re: built a pkg with yaourt as root, cancled half way, r there leftovers??

SS4 wrote:

Pretty much. Yaourt uses /tmp/yaourt-$USER so for root it would be /tmp/yaourt-root

That's actually more accurate. I was thinking of /tmp/yaourt/user/, but you're right.

Offline

#6 2011-04-23 14:06:57

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: built a pkg with yaourt as root, cancled half way, r there leftovers??

... and in case you were building a -git/hg/svn/cvs package, then there's probably stuff in /var/abs/local/yaourtbuild.


1000

Offline

#7 2011-04-23 17:31:02

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: built a pkg with yaourt as root, cancled half way, r there leftovers??

Indeed, there was stuff in /var/abs/local/yaourtbuild. Will yaourt automatically delete that eventually? Or do I need to remove them manually since I interrupted yaourt?

Offline

Board footer

Powered by FluxBB