* Сергей Фёдоров:

> Sorry for the late response - I just went to the mail and did not expect
> a letter from you.
>  
> I wanted to use sudo to delete the list of root owner files whose names
> are placed in the file.

Your main problem, as Dennis has explained, is that the redirection will
be interpreted by the shell. All sudo will get to see (and compare
against any rules) is:

    xargs -0t -d '\n' -a 'install_manifest.txt'

My advice is: Put the entire operation into a little shellscript (e.g.
/usr/local/bin/cleanup), properly protect it against modifications, and
add a simple sudo rule that references only this script.

I don't see how this is a bug in sudo or in the Debian packaging and
would like to close the bug.

Cheers,
-Hilko

Reply via email to