> approx-import could implement a command line switch such that, for each
> file that were succesfully imported into the cache, it would call
> unlink(2) on the original one, to help save space for those migrating to
> approx from other systems (like, for instance, apt-move).

I thought I replied to the original bug filing, but I guess I didn't
-- sorry.

The implementation difficulty is because approx-import runs as the
"approx" user, so that it can write to the approx cache.
But the approx user is unlikely to be able to unlink the original
files -- they're almost certainly owned by someone else.

It's not impossible (obviously).  But the changes are a little more
far-reaching than just calling unlink after each import.

Cheers,
Eric

-- 
Eric Cooper             e c c @ c m u . e d u



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to