root owned sources.list left in $executionDirectory/conf

Bug #45027 reported by KarlGoetz
6
Affects Status Importance Assigned to Milestone
EasyUbuntu
Fix Released
Low
Unassigned

Bug Description

When EasyUbuntu is run, apart from the (expected) .pyc files being created, it also leaves behind a conf directory, with a root owned sources.list in it.
Apart from being somewhat messy, this also leads to the directory EasyUbuntu is launched from not being deleteable from the users trash.
I asume this will be less of a problem when EasyUbuntu is installed, not just downloaded and run, but i still thought its worth a meantion

Revision history for this message
Venkat Raghavan (venkatraghavan) wrote :

I could not fix this issue due to some weirdness in shell from which easyubuntu was launched (login vs nologin).

Retargeting for EasyUbuntu 3.1

Changed in easyubuntu:
status: Unconfirmed → Confirmed
Revision history for this message
KarlGoetz (kgoetz) wrote : Re: [Bug 45027] Re: root owned sources.list left in $executionDirectory/conf

Venkat Raghavan wrote:
> I could not fix this issue due to some weirdness in shell from which
> easyubuntu was launched (login vs nologin).
>
> Retargeting for EasyUbuntu 3.1
>
> ** Changed in: easyubuntu (upstream)
> Severity: Normal => Minor
> Status: Unconfirmed => Confirmed
> Target: None => 3.1
>
The EasyUbuntu in trunk has no /conf/ directory - this effectively makes
this bug void, unless /conf is added back in
kk

Revision history for this message
alonz (alonzakai) wrote : possible fix

This patch is one possible solution to this issue: it just deletes the config directory and sources.list inside it, so no root-owned files remain (and the user can delete EU normally).

Deleting seems reasonable to me because the directory&file are generated each time anyhow.

Revision history for this message
Venkat Raghavan (venkatraghavan) wrote :

I'm not very happy with the deleting solution, because it leads to difficulties while debugging. Let me try to fix this issue at source :)

Revision history for this message
alonz (alonzakai) wrote : Re: [Bug 45027] Re: root owned sources.list left in $executionDirectory/conf

Ok, I see what you mean.

On 6/8/06, Venkat Raghavan <email address hidden> wrote:
> I'm not very happy with the deleting solution, because it leads to
> difficulties while debugging. Let me try to fix this issue at source :)
>
> --
> root owned sources.list left in $executionDirectory/conf
> https://launchpad.net/bugs/45027
>

Revision history for this message
Venkat Raghavan (venkatraghavan) wrote :

Committed revision 212.

Changed in easyubuntu:
status: Confirmed → Fix Committed
Changed in easyubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.