sudo and xargs disagree about maximum command line length

Stijn Hoop stijn at win.tue.nl
Wed Aug 10 20:12:41 GMT 2005


Hi,

I think the below should not happen:

[stijn at tangaloor] </net/freebsd/ports> find . | grep CVS/Root | xargs sudo -u src sed -i.bak -e 's#/freebsd#/net/freebsd#'
sudo: unable to execute /usr/bin/sed: Argument list too long
sudo: unable to execute /usr/bin/sed: Argument list too long
sudo: unable to execute /usr/bin/sed: Argument list too long
sudo: unable to execute /usr/bin/sed: Argument list too long

Is there a sudo knob that should be tweaked?

--Stijn

-- 
Before enlightenment
Chop wood, carry water
After enlightenment
Chop wood, carry water
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050810/68f09223/attachment.bin


More information about the freebsd-ports mailing list